Merge pull request #1678 from anthrotype/ci-skip-py27

travis/appveyor: no longer run tests on python2.7
This commit is contained in:
Cosimo Lupo 2019-08-02 12:03:53 +01:00 committed by GitHub
commit 5ac0b9c04e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 23 deletions

View File

@ -1,7 +1,7 @@
environment:
matrix:
- JOB: "2.7 32-bit"
PYTHON_HOME: "C:\\Python27"
- JOB: "3.6 32-bit"
PYTHON_HOME: "C:\\Python36"
- JOB: "3.7 64-bit"
PYTHON_HOME: "C:\\Python37-x64"

View File

@ -17,13 +17,9 @@ branches:
matrix:
fast_finish: true
exclude:
# Exclude the default Python 3.5 build
- python: 3.5
# Exclude the default Python 3.6 build
- python: 3.6
include:
- python: 2.7
env: TOXENV=py27-cov
- python: 3.5
env: TOXENV=py35-cov
- python: 3.6
env:
- TOXENV=py36-cov,package_readme
@ -33,30 +29,18 @@ matrix:
# required to run python3.7 on Travis CI
# https://github.com/travis-ci/travis-ci/issues/9815
dist: xenial
- python: pypy2.7-6.0
- python: pypy3
# disable coverage.py on pypy because of performance problems
env: TOXENV=pypy
env: TOXENV=pypy3
dist: xenial
- language: generic
os: osx
env: TOXENV=py27-cov
- language: generic
os: osx
env:
- TOXENV=py3-cov
- HOMEBREW_NO_AUTO_UPDATE=1
- env:
- TOXENV=py27
- PYENV_VERSION='2.7.6'
- PYENV_VERSION_STRING='Python 2.7.6'
- PYENV_ROOT=$HOME/.travis-pyenv
- TRAVIS_PYENV_VERSION='0.4.0'
allow_failures:
# We use fast_finish + allow_failures because OSX builds take forever
# https://blog.travis-ci.com/2013-11-27-fast-finishing-builds
- language: generic
os: osx
env: TOXENV=py27-cov
- language: generic
os: osx
env:

View File

@ -1,6 +1,6 @@
[tox]
minversion = 3.0
envlist = py{27,37}-cov, htmlcov
envlist = py3{6,7}-cov, htmlcov
[testenv]
deps =