diff --git a/.travis.yml b/.travis.yml index 0256b0af..5e9c1510 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,97 +17,11 @@ jobs: os: linux python: "2.7" env: TOXENV=py27 - - name: Python 3.5 on GNU/Linux - os: linux - python: "3.5" - env: TOXENV=py35 - - name: Python 3.6 on GNU/Linux - os: linux - python: "3.6" - env: - - TOXENV=py36 - # To help catch regression seen in #615 - - LC_ALL=C - - name: Python 3.7 on GNU/Linux - os: linux - python: "3.7" - env: TOXENV=py37 - - name: Python 3.8 on GNU/Linux - os: linux - python: "3.8" - env: TOXENV=py38 - - name: Python 3.9 on GNU/Linux - os: linux - python: 3.9-dev - env: TOXENV=py39 - - name: Python 3.10 on GNU/Linux - os: linux - python: nightly - env: TOXENV=py310 - name: PyPy 2.7 on GNU/Linux os: linux python: "pypy" env: TOXENV=pypy - - name: PyPy 3.6 on GNU/Linux - os: linux - python: "pypy3" - env: TOXENV=pypy3 - - name: Python 3.5 on macOS - os: osx - language: shell - install: - - unset PYENV_ROOT - - curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash - - export PATH="$HOME/.pyenv/bin:$PATH" - - eval "$(pyenv init -)" - - pyenv install --skip-existing 3.5.10 - - pyenv global 3.5.10 - env: TOXENV=py35 - - name: Python 3.6 on macOS - os: osx - language: shell - install: - - unset PYENV_ROOT - - curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash - - export PATH="$HOME/.pyenv/bin:$PATH" - - eval "$(pyenv init -)" - - pyenv install --skip-existing 3.6.12 - - pyenv global system 3.6.12 - env: TOXENV=py36 - - name: Python 3.7 on macOS - os: osx - language: shell - install: - - unset PYENV_ROOT - - curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash - - export PATH="$HOME/.pyenv/bin:$PATH" - - eval "$(pyenv init -)" - - pyenv install --skip-existing 3.7.9 - - pyenv global system 3.7.9 - env: TOXENV=py37 - - name: Python 3.8 on macOS - os: osx - language: shell - install: - - unset PYENV_ROOT - - curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash - - export PATH="$HOME/.pyenv/bin:$PATH" - - eval "$(pyenv init -)" - - pyenv install --skip-existing 3.8.6 - - pyenv global system 3.8.6 - env: TOXENV=py38 - - name: Python 3.9 on macOS - os: osx - language: shell - install: - - unset PYENV_ROOT - - curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash - - export PATH="$HOME/.pyenv/bin:$PATH" - - eval "$(pyenv init -)" - - pyenv install --skip-existing 3.9-dev - - pyenv global system 3.9-dev - env: TOXENV=py39 - - name: Python 3.10 on macOS + - name: Python 2.7 on macOS os: osx language: shell install: @@ -115,9 +29,9 @@ jobs: - curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash - export PATH="$HOME/.pyenv/bin:$PATH" - eval "$(pyenv init -)" - - pyenv install --skip-existing 3.10-dev - - pyenv global system 3.10-dev - env: TOXENV=py310 + - pyenv install --skip-existing 2.7.18 + - pyenv global system 2.7.18 + env: TOXENV=py27 - name: Python 2.7 on Windows os: windows language: shell @@ -126,54 +40,6 @@ jobs: env: - TOXENV=py27 - export PATH="/c/Python27:/c/Python27/Scripts:$PATH" - - name: Python 3.5 on Windows - os: windows - language: shell - before_install: - - choco install python3 --version=3.5.4 - env: - - TOXENV=py35 - - export PATH="/c/Python35:/c/Python35/Scripts:$PATH" - - name: Python 3.6 on Windows - os: windows - language: shell - before_install: - - choco install python3 --version=3.6.8 - env: - - TOXENV=py36 - - export PATH="/c/Python36:/c/Python36/Scripts:$PATH" - - name: Python 3.7 on Windows - os: windows - language: shell - before_install: - -choco install python3 --version=3.7.9 - env: - - TOXENV=py37 - - export PATH="/c/Python37:/c/Python37/Scripts:$PATH" - - name: Python 3.8 on Windows - os: windows - language: shell - before_install: - - choco install python3 --version=3.8.6 - env: - - TOXENV=py38 - - export PATH="/c/Python38:/c/Python38/Scripts:$PATH" - - name: Python 3.9 on Windows - os: windows - language: shell - before_install: - - choco install python3 --version=3.9.0 - env: - - TOXENV=py39 - - export PATH="/c/Python39:/c/Python39/Scripts:$PATH" - - name: Python 3.10 on Windows - os: windows - language: shell - before_install: - - choco install python3 --pre - env: - - TOXENV=py310 - - export PATH="/c/Python310:/c/Python310/Scripts:$PATH" before_script: - python -m pip install -U pip tox diff --git a/tox.ini b/tox.ini index 0da299c2..36607834 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{310,39,38,37,36,35,27,py3,py} +envlist = py{27,py} skip_missing_interpreters = True [testenv]