language: python dist: focal cache: pip 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: - tox env: TOXENV=py3 PYTEST_ADDOPTS=-v # List all tests run by pytest matrix: fast_finish: true include: - python: 3.6 env: TOXENV=lowest-supported PYTEST_ADDOPTS=-v # List all tests run by pytest dist: bionic # Test all supported Python versions (but at the end, so we schedule # longer-running jobs first) - python: 3.12-dev allow_failures: - python: 3.12-dev