travis/appveyor: no longer run tests on python2.7

This commit is contained in:
Cosimo Lupo 2019-08-02 11:56:28 +01:00
parent bcba6abce5
commit 421715b751
No known key found for this signature in database
GPG Key ID: 20D4A261E4A0E642
3 changed files with 7 additions and 23 deletions

View File

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

View File

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

View File

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