Skip to content

Commit

Permalink
Limit this branch to Python 2.7 environments
Browse files Browse the repository at this point in the history
For Python 3, please use master. This branch is kept around for
Python 2.7 compatibility only.
  • Loading branch information
CCP-Aporia committed Dec 7, 2020
1 parent 0d010ea commit 11ef299
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 139 deletions.
142 changes: 4 additions & 138 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,107 +17,21 @@ 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:
- 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.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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 11ef299

Please sign in to comment.