python3: update tox to check against both python versions (#40911)

This commit is contained in:
Nicolas Roche 2020-03-23 15:07:15 +01:00
parent 1aca22f73e
commit 5677795e8f
2 changed files with 3 additions and 4 deletions

2
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ pipeline {
stages {
stage('Unit Tests') {
steps {
sh 'tox -rv -e coverage'
sh 'tox -rv'
}
post {
always {

View File

@ -4,11 +4,10 @@
# and then run "tox" from this directory.
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/
envlist = py27
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/{env:BRANCH_NAME:}
envlist = {py27,py3}-coverage
[testenv]
basepython = python2
# django.contrib.auth is not tested it does not work with our templates
whitelist_externals =
/bin/mv