Skip to content
Snippets Groups Projects
Unverified Commit 6d517957 authored by Stu Young's avatar Stu Young Committed by GitHub
Browse files

Merge pull request #18381 from edx/estute/fixup-toxenv-var

change toxenv checking in ci script
parents caca3358 193c355f
No related merge requests found
......@@ -69,10 +69,16 @@ END
}
if [ -n "${TOX_ENV}" ]; then
# if specified tox environment is supported, prepend paver commands
# with tox env invocation
if [ -z ${TOX_ENV+x} ] || [[ ${TOX_ENV} == 'null' ]]; then
TOX=""
elif tox -l |grep -q "${TOX_ENV}"; then
TOX="tox -r -e ${TOX_ENV} --"
else
TOX=""
echo "${TOX_ENV} is not currently supported. Please review the"
echo "tox.ini file to see which environments are supported"
exit 1
fi
PAVER_ARGS="-v"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment