summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 8 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index a529ace1..fbb0b3ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,6 +28,9 @@ install:
# Required so `git describe` will definitely find a tag; see
# https://github.com/travis-ci/travis-ci/issues/7422
- git fetch --unshallow
+ # Not pinning setuptools can cause failures on python 3.7 and 3.8 builds
+ # See https://github.com/pypa/setuptools/issues/3118
+ - pip install setuptools==59.6.0
- pip install tox
script:
@@ -130,27 +133,20 @@ matrix:
TOXENV=lowest-supported
PYTEST_ADDOPTS=-v # List all tests run by pytest
dist: bionic
- - python: 3.6
- env: TOXENV=flake8
- - python: 3.6
- env: TOXENV=mypy
- - python: 3.6
- env: TOXENV=pylint
- - python: 3.6
- env: TOXENV=black
- - python: 3.6
- env: TOXENV=isort
- python: 3.7
env: TOXENV=doc
install:
- git fetch --unshallow
+ # Not pinning setuptools can cause failures on python 3.7 and 3.8 builds
+ # See https://github.com/pypa/setuptools/issues/3118
+ - pip install setuptools==59.6.0
- sudo apt-get install lintian
- pip install tox
script:
- - make check_spelling
- - tox
+ - make check_spelling && tox
# Test all supported Python versions (but at the end, so we schedule
# longer-running jobs first)
+ - python: 3.11-dev
- python: "3.10"
- python: 3.9
- python: 3.8