1
+ # Beta opt-in
2
+ # https://docs.travis-ci.com/user/build-config-validation#beta-opt-in
3
+ version : ~> 1.0
4
+
1
5
language : python
2
6
dist : xenial
7
+ os : linux
8
+
9
+ env :
10
+ global :
11
+ - MAKEFLAGS="-j 2"
3
12
4
- matrix :
13
+ jobs :
5
14
fast_finish : true
6
15
include :
7
16
- name : Code quality checks
8
- os : linux
9
17
python : " 3.8"
10
18
env : TOXENV=lint
11
19
- name : Types checking
12
- os : linux
13
20
python : " 3.8"
14
21
env : TOXENV=types
15
22
- name : Documentation build
16
- os : linux
17
23
python : " 3.8"
18
24
env : TOXENV=docs
19
- - os : osx
20
- language : shell
21
- before_install :
22
- - bash .travis/install.sh
23
- env :
24
- - PYTHON_VERSION=3.5
25
- - TOXENV=py35
26
- - name : " Python 3.6 on macOS 10.13"
25
+ - name : Python 3.5 on macOS
27
26
os : osx
28
- osx_image : xcode9.4 # Python 3.6.5 running on macOS 10.13
29
27
language : shell
30
- env :
31
- - PYTHON_VERSION=3.6
32
- - TOXENV=py36
33
- - name : " Python 3.7 on macOS 10.14"
28
+ install :
29
+ - eval "$(pyenv init -)"
30
+ - pyenv install --skip-existing 3.5.8
31
+ - pyenv global 3.5.8
32
+ env : TOXENV=py35
33
+ - name : Python 3.6 on macOS
34
34
os : osx
35
- osx_image : xcode11.2 # Python 3.7.4 running on macOS 10.14.4
36
35
language : shell
37
- env :
38
- - PYTHON_VERSION=3.7
39
- - TOXENV=py37
40
- - name : " Python 3.8 on macOS 10.14"
36
+ install :
37
+ - eval "$(pyenv init -)"
38
+ - pyenv install --skip-existing 3.6.9
39
+ - pyenv global system 3.6.9
40
+ env : TOXENV=py36
41
+ - name : Python 3.7 on macOS
41
42
os : osx
42
- osx_image : xcode11.3 # Python 3.8.0 running on macOS 10.14.6
43
43
language : shell
44
- env :
45
- - PYTHON_VERSION=3.8
46
- - TOXENV=py38
47
- - os : osx
44
+ install :
45
+ - eval "$(pyenv init -)"
46
+ - pyenv install --skip-existing 3.7.5
47
+ - pyenv global system 3.7.5
48
+ env : TOXENV=py37
49
+ - name : Python 3.8 on macOS
50
+ os : osx
48
51
language : shell
49
- before_install :
50
- - bash .travis/install.sh
51
- env :
52
- - PYTHON_VERSION=3.9
53
- - TOXENV=py39
54
- - name : " PyPy 3.6 on GNU/Linux"
55
- os : linux
56
- python : " pypy3"
52
+ install :
53
+ - eval "$(pyenv init -)"
54
+ - pyenv install --skip-existing 3.8.0
55
+ - pyenv global system 3.8.0
56
+ env : TOXENV=py38
57
+ # - name: Python 3.9 on macOS
58
+ # os: osx
59
+ # language: shell
60
+ # install:
61
+ # - eval "$(pyenv init -)"
62
+ # - pyenv install --skip-existing 3.9-dev
63
+ # - pyenv global system 3.9-dev
64
+ # env: TOXENV=py39
65
+ - name : PyPy 3.6 on GNU/Linux
66
+ python : pypy3
57
67
env : TOXENV=pypy3
58
- - name : " Python 3.5 on GNU/Linux"
59
- os : linux
68
+ - name : Python 3.5 on GNU/Linux
60
69
python : " 3.5"
61
70
env : TOXENV=py35
62
- - name : " Python 3.6 on GNU/Linux"
63
- os : linux
71
+ - name : Python 3.6 on GNU/Linux
64
72
python : " 3.6"
65
73
env : TOXENV=py36
66
- - name : " Python 3.7 on GNU/Linux"
67
- os : linux
74
+ - name : Python 3.7 on GNU/Linux
68
75
python : " 3.7"
69
76
env : TOXENV=py37
70
- - name : " Python 3.8 on GNU/Linux"
71
- os : linux
77
+ - name : Python 3.8 on GNU/Linux
72
78
python : " 3.8"
73
79
env : TOXENV=py38
74
- - name : " Python 3.9 on GNU/Linux"
75
- os : linux
76
- python : " nightly"
80
+ - name : Python 3.9 on GNU/Linux
81
+ python : 3.9-dev
77
82
env : TOXENV=py39
83
+ # - name: Python 3.10 on GNU/Linux
84
+ # python: nightly
85
+ # env: TOXENV=py310
78
86
79
87
addons :
80
88
apt :
@@ -84,8 +92,8 @@ addons:
84
92
services :
85
93
- xvfb
86
94
87
- install :
88
- - python -m pip install --upgrade pip tox
95
+ before_script :
96
+ - python3 -m pip install --upgrade pip tox
89
97
90
98
script :
91
- - tox
99
+ - python3 -m tox
0 commit comments