language: python os: linux cache: pip matrix: include: - name: "Python 2.7 on Linux" python: 2.7 env: PIP=pip - name: "Python 3.5 on Linux" python: 3.5 - name: "Python 3.6 on Linux" python: 3.6 - name: "Python 3.7 on Linux" python: 3.7 - name: "Python 3.8 on Linux" dist: xenial python: 3.8 - name: "Python 3.9 Nightly on Linux" dist: bionic python: nightly - name: "Pypy on Linux" python: pypy env: PIP=pip - name: "Pypy 3 on Linux" python: pypy3 - name: "Python 3.7 on older macOS" os: osx osx_image: xcode9.4 language: shell env: TOXENV=py37 before_install: - sw_vers - python3 --version - pip3 --version - name: "Python 3.7 on macOS" os: osx osx_image: xcode11 language: shell env: TOXENV=py37 before_install: - sw_vers - python3 --version - pip3 --version allow_failures: - python: nightly - python: pypy - python: pypy3 - os: osx install: - if [ $PIP ]; then true; else PIP=pip3; fi - travis_retry $PIP install -U pip wheel tox-travis pytest-cov codecov - travis_retry $PIP install -U -r requirements.txt -e ".[test]" script: - tox after_success: - codecov