reorder env sourcing in a11y script

This commit is contained in:
Stuart Young
2018-06-19 10:42:18 -04:00
parent 3434c0f59b
commit 365f65834b

View File

@@ -15,6 +15,9 @@ set -e
#
###############################################################################
echo "Setting up for accessibility tests..."
source scripts/jenkins-common.sh
# if specified tox environment is supported, prepend paver commands
# with tox env invocation
if [ -z ${TOX_ENV+x} ] || [[ ${TOX_ENV} == 'null' ]]; then
@@ -27,9 +30,6 @@ else
exit 1
fi
echo "Setting up for accessibility tests..."
source scripts/jenkins-common.sh
echo "Running explicit accessibility tests..."
SELENIUM_BROWSER=phantomjs $TOX paver test_a11y