From f7df8ff46e425bce36fe6624a8ffd5a3c6b5c037 Mon Sep 17 00:00:00 2001 From: Stuart Young Date: Thu, 14 Jun 2018 11:09:48 -0400 Subject: [PATCH] consume env var to select tox env --- scripts/generic-ci-tests.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/generic-ci-tests.sh b/scripts/generic-ci-tests.sh index 518f8d16ed..4acf24f6a8 100755 --- a/scripts/generic-ci-tests.sh +++ b/scripts/generic-ci-tests.sh @@ -69,15 +69,12 @@ END } -if [[ $DJANGO_VERSION == '1.11' ]]; then - TOX="tox -r -e py27-django111 --" -elif [[ $DJANGO_VERSION == '1.10' ]]; then - TOX="tox -r -e py27-django110 --" -elif [[ $DJANGO_VERSION == '1.9' ]]; then - TOX="tox -r -e py27-django19 --" +if [ -n "${TOX_ENV}" ]; then + TOX="tox -r -e ${TOX_ENV} --" else TOX="" fi + PAVER_ARGS="-v" PARALLEL="--processes=-1" export SUBSET_JOB=$JOB_NAME