Merge pull request #17361 from edx/jmbowman/always_recreate_tox_env

Always use a fresh tox env in Jenkins
This commit is contained in:
Jeremy Bowman
2018-01-31 00:28:07 -05:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -15,11 +15,11 @@ set -e
###############################################################################
if [[ $DJANGO_VERSION == '1.11' ]]; then
TOX="tox -e py27-django111 --"
TOX="tox -r -e py27-django111 --"
elif [[ $DJANGO_VERSION == '1.10' ]]; then
TOX="tox -e py27-django110 --"
TOX="tox -r -e py27-django110 --"
elif [[ $DJANGO_VERSION == '1.9' ]]; then
TOX="tox -e py27-django19 --"
TOX="tox -r -e py27-django19 --"
else
TOX=""
fi

View File

@@ -70,11 +70,11 @@ END
}
if [[ $DJANGO_VERSION == '1.11' ]]; then
TOX="tox -e py27-django111 --"
TOX="tox -r -e py27-django111 --"
elif [[ $DJANGO_VERSION == '1.10' ]]; then
TOX="tox -e py27-django110 --"
TOX="tox -r -e py27-django110 --"
elif [[ $DJANGO_VERSION == '1.9' ]]; then
TOX="tox -e py27-django19 --"
TOX="tox -r -e py27-django19 --"
else
TOX=""
fi