File tree Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -10,40 +10,43 @@ install:
10
10
- pip install virtualenv tox wheel
11
11
- tox --version
12
12
13
+ stages :
14
+ - check
15
+ - test
16
+
13
17
script : tox -v
14
18
15
19
matrix :
16
20
include :
17
-
18
- - python : " 3.6"
21
+ - stage : check
22
+ python : 3.6
19
23
env : TOXENV=checks
20
24
21
- - python : " 3.8 "
25
+ - stage : test
22
26
dist : xenial
23
- env : TOXENV=mypy
24
-
25
- - python : " 3.6"
27
+ python : " 3.6"
26
28
env : TOXENV=py36
27
29
28
- - python : " 3.7 "
30
+ - stage : test
29
31
dist : xenial
32
+ python : " 3.7"
30
33
env : TOXENV=py37
31
34
32
- - python : " 3.8 "
35
+ - stage : test
33
36
dist : xenial
37
+ python : " 3.8"
34
38
env : TOXENV=py38
35
39
36
- - python : " 3.9-dev "
40
+ - stage : test
37
41
dist : bionic
42
+ python : " 3.9-dev"
38
43
env : TOXENV=py39
39
44
40
- - python : " nightly "
45
+ - stage : test
41
46
dist : bionic
47
+ python : " nightly"
42
48
env : TOXENV=py310
43
49
44
- - python : " 3.8"
45
- dist : xenial
46
- env : TOXENV=mypy
47
50
48
51
jobs :
49
52
allow_failures :
Original file line number Diff line number Diff line change
1
+ Introduce stages in :file: `.travis.yml `
2
+ The config file contains now two stages: check and test. If
3
+ check fails, the test stage won't be executed. This could
4
+ speed up things when some checks fails.
You can’t perform that action at this time.
0 commit comments