From 02c9191a9a7b90156ca26b990535fb8ee7837074 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Apr 28 2020 15:16:01 +0000 Subject: tox: Remove python 2 tests, add python 3.7, 3.8 tests Python 2 is dead for a while, and there is no point in running the tests now. Python 3.7 and 3.8 are available and we want to test them on travis. Signed-off-by: Nir Soffer --- diff --git a/.travis.yml b/.travis.yml index 89fb52a..bea805d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ dist: xenial language: python python: - - "2.7" - "3.6" - "3.7" - - "3.8-dev" + - "3.8" + - "3.9-dev" addons: apt: diff --git a/tox.ini b/tox.ini index 4a28561..af8a6cc 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py27,py36,flake8 +envlist = py{36,37,38},flake8 skipsdist = True skip_missing_interpreters = True @@ -18,8 +18,7 @@ whitelist_externals = make deps = pytest==4.0 commands = - py27: make PY_VERSION=2.7 BUILDARGS="--build-lib={envsitepackagesdir}" - py36: make PY_VERSION=3.6 BUILDARGS="--build-lib={envsitepackagesdir}" + py{36,37,38}: make BUILDARGS="--build-lib={envsitepackagesdir}" pytest {posargs} [testenv:flake8]