From 421715b7518b31e4c10359b4285c3af6093cf3c6 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Fri, 2 Aug 2019 11:56:28 +0100 Subject: [PATCH] travis/appveyor: no longer run tests on python2.7 --- .appveyor.yml | 4 ++-- .travis.yml | 24 ++++-------------------- tox.ini | 2 +- 3 files changed, 7 insertions(+), 23 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 9701df659..62bc3d18c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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" diff --git a/.travis.yml b/.travis.yml index 66f80fc0c..20d45368b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/tox.ini b/tox.ini index 6a01501fb..b006339f2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.0 -envlist = py{27,37}-cov, htmlcov +envlist = py3{6,7}-cov, htmlcov [testenv] deps =