Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc1e110

Browse filesBrowse files
authored
Merge pull request #319 from tomschr/feature/travis-stages
Introduce stages in .travis.yml
2 parents c75737d + 3031da4 commit dc1e110
Copy full SHA for dc1e110

File tree

2 files changed

+20
-13
lines changed
Filter options

2 files changed

+20
-13
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+16-13Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,40 +10,43 @@ install:
1010
- pip install virtualenv tox wheel
1111
- tox --version
1212

13+
stages:
14+
- check
15+
- test
16+
1317
script: tox -v
1418

1519
matrix:
1620
include:
17-
18-
- python: "3.6"
21+
- stage: check
22+
python: 3.6
1923
env: TOXENV=checks
2024

21-
- python: "3.8"
25+
- stage: test
2226
dist: xenial
23-
env: TOXENV=mypy
24-
25-
- python: "3.6"
27+
python: "3.6"
2628
env: TOXENV=py36
2729

28-
- python: "3.7"
30+
- stage: test
2931
dist: xenial
32+
python: "3.7"
3033
env: TOXENV=py37
3134

32-
- python: "3.8"
35+
- stage: test
3336
dist: xenial
37+
python: "3.8"
3438
env: TOXENV=py38
3539

36-
- python: "3.9-dev"
40+
- stage: test
3741
dist: bionic
42+
python: "3.9-dev"
3843
env: TOXENV=py39
3944

40-
- python: "nightly"
45+
- stage: test
4146
dist: bionic
47+
python: "nightly"
4248
env: TOXENV=py310
4349

44-
- python: "3.8"
45-
dist: xenial
46-
env: TOXENV=mypy
4750

4851
jobs:
4952
allow_failures:

‎changelog.d/319.trivial.rst

Copy file name to clipboard
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.