forked from Lvl4Sword/Killer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (42 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Source 1: github.com/tox-dev/.travis.yml
# Source 2: github.com/GhostofGoes/getmac/blob/master/.travis.yml
stages:
- test
# Details: blog.travis-ci.com/2017-12-01-new-update-schedule-for-linux-build-images
group: travis_latest
language: python
dist: xenial
sudo: true # TODO: would false work fine? (it would run faster)
cache: pip
env:
TOXENV=py
jobs:
include:
- python: 3.5 # 3.5.5 pip 9.0.1
- python: 3.6 # 3.6.3 pip 9.0.1
- python: 3.7 # 3.7.0 pip 10.0.1
- python: 3.8-dev
- os: osx
language: generic
env: TOXENV=osx-travis
- python: 3.6
env: TOXENV=check
matrix:
fast_finish: true
allow_failures:
- python: 3.8-dev
- os: osx
before_install:
- python -c 'import sys; print(sys.version)'
- python -c 'import sys; print(sys.platform)'
- python -c 'import os; print(os.name)'
- python -c 'import platform; print(platform.version())'
- python -c 'import platform; print(platform.uname())'
- arp -a
- ifconfig
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source ./scripts/.travis-osx; fi
install:
- pip install -U tox
- tox --notest
script:
- tox