This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master in repository sanlock.
The following commit(s) were added to refs/heads/master by this push: new 02c9191 tox: Remove python 2 tests, add python 3.7, 3.8 tests 02c9191 is described below
commit 02c9191a9a7b90156ca26b990535fb8ee7837074 Author: Nir Soffer nirsof@gmail.com AuthorDate: Tue Apr 28 02:44:03 2020 +0300
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 nsoffer@redhat.com --- .travis.yml | 4 ++-- tox.ini | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-)
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]
sanlock-devel@lists.fedorahosted.org