Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,43 @@ install:
- pip install virtualenv tox wheel
- tox --version

stages:
- check
- test

script: tox -v

matrix:
include:

- python: "3.6"
- stage: check
python: 3.6
env: TOXENV=checks

- python: "3.8"
- stage: test
dist: xenial
env: TOXENV=mypy

- python: "3.6"
python: "3.6"
env: TOXENV=py36

- python: "3.7"
- stage: test
dist: xenial
python: "3.7"
env: TOXENV=py37

- python: "3.8"
- stage: test
dist: xenial
python: "3.8"
env: TOXENV=py38

- python: "3.9-dev"
- stage: test
dist: bionic
python: "3.9-dev"
env: TOXENV=py39

- python: "nightly"
- stage: test
dist: bionic
python: "nightly"
env: TOXENV=py310

- python: "3.8"
dist: xenial
env: TOXENV=mypy

jobs:
allow_failures:
Expand Down
4 changes: 4 additions & 0 deletions changelog.d/319.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Introduce stages in :file:`.travis.yml`
The config file contains now two stages: check and test. If
check fails, the test stage won't be executed. This could
speed up things when some checks fails.