File tree 2 files changed +53
-26
lines changed 2 files changed +53
-26
lines changed Original file line number Diff line number Diff line change
1
+ group : travis_latest
1
2
sudo : false
2
3
language : python
3
4
cache : pip
4
- python :
5
- - 2.7
6
- - 3.4
7
- - 3.5
8
- - 3.6
9
- - 3.7-dev
10
- - nightly
11
- - pypy
5
+
12
6
env :
13
7
TOXENV=py
14
8
9
+ stages :
10
+ - quick # first run quick tests: lint and doc
11
+ - test # make sure we run first mandatory tests
12
+ - extra # then run tests which can fail
13
+
14
+ jobs :
15
+ include :
16
+ - python : 2.7 # 2.7.14 pip 9.0.1
17
+ - python : 3.4 # 3.4.6 pip 9.0.1
18
+ - python : 3.5 # 3.5.5 pip 9.0.1
19
+ - python : 3.6 # 3.6.3 pip 9.0.1
20
+ - python : 3.7 # 3.7.0 pip 10.0.1
21
+ dist : xenial
22
+ sudo : true
23
+ - python : 3.8-dev
24
+ dist : xenial
25
+ sudo : true
26
+ stage : extra
27
+ - python : nightly
28
+ dist : xenial
29
+ sudo : true
30
+ stage : extra
31
+ - python : pypy # 2.7.13 pip 9.0.1
32
+ stage : extra
33
+ - python : pypy3 # 3.5.3 pip 9.0.1
34
+ stage : extra
35
+ - os : osx
36
+ language : generic
37
+ stage : extra
38
+ - python : 3.7
39
+ dist : xenial
40
+ sudo : true
41
+ env : TOXENV=docs
42
+ stage : quick
43
+ - python : 3.6
44
+ stage : quick
45
+ env : TOXENV=fix-lint
46
+
15
47
matrix :
16
48
fast_finish : true
17
49
allow_failures :
18
50
- os : osx
19
- - python : 3.7 -dev
51
+ - python : 3.8 -dev
20
52
- python : nightly
21
53
- python : pypy
22
- include :
23
- - python : 3.6
24
- env : TOXENV=docs
25
- - python : 3.6
26
- env : TOXENV=fix-lint
27
- - os : osx
28
- language : generic
54
+ - python : pypy3
29
55
30
56
before_install :
31
- - pyenv versions
32
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source .travis-osx; fi
57
+ - pyenv versions
58
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source .travis-osx; fi
33
59
34
60
install :
35
- - pip install -U six
36
- - pip install --pre -U tox
61
+ - pip install -U six
62
+ - pip install --pre -U tox
37
63
38
64
script :
39
- - tox
65
+ - tox
40
66
41
67
after_success :
42
- - if [[ $TOXENV == "py" ]]; then tox -e coverage,codecov; fi
68
+ - if [[ $TOXENV == "py" ]]; then tox -e coverage,codecov; fi
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ envlist = py27,
3
3
py34,
4
4
py35,
5
5
py36,
6
+ py37,
6
7
pypy,
7
8
coverage,
8
9
fix-lint,
@@ -22,7 +23,7 @@ commands = pytest {posargs:--cov="{envsitepackagesdir}/tox" --cov-config="{toxin
22
23
23
24
[testenv:docs]
24
25
description = invoke sphinx-build to build the HTML docs and check that all links are valid
25
- basepython = python3.6
26
+ basepython = python3.7
26
27
extras = docs
27
28
changedir = {toxinidir}
28
29
commands = sphinx-build -d " {toxworkdir}/docs_doctree" doc " {toxworkdir}/docs_out" --color -W -bhtml {posargs}
@@ -71,11 +72,11 @@ commands = codecov --file "{toxworkdir}/coverage.xml"
71
72
[testenv:exit_code]
72
73
# to see how the InvocationError is displayed, use
73
74
# PYTHONPATH=.:$PYTHONPATH python3 -m tox -e exit_code
74
- basepython = python3.6
75
+ basepython = python3.7
75
76
description = commands with several exit codes
76
77
skip_install = True
77
78
changedir = {toxinidir}
78
- commands = python3.6 -c " import sys; sys.exit(139)"
79
+ commands = python3.7 -c " import sys; sys.exit(139)"
79
80
80
81
[testenv:pra]
81
82
platform = linux
@@ -95,7 +96,7 @@ description = generate a DEV environment
95
96
extras = testing, docs
96
97
# required to make looponfail reload on every source code change
97
98
usedevelop = True
98
- basepython = python3.6
99
+ basepython = python3.7
99
100
changedir = {toxinidir}
100
101
commands = python -m pip list --format =columns
101
102
python -c ' import sys; print(sys.executable)'
You can’t perform that action at this time.
0 commit comments