gecko-dev/testing/web-platform/tests/tools/html5lib/requirements-install.sh
James Graham 17c446e9a8 Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly
--HG--
rename : testing/web-platform/tests/progress-events/tests/submissions/Samsung/resources/img.jpg => testing/web-platform/tests/XMLHttpRequest/resources/img.jpg
rename : testing/web-platform/tests/webmessaging/without-ports/009.html => testing/web-platform/tests/common/failing-test.html
2015-01-07 13:12:56 +00:00

16 lines
537 B
Bash
Executable file

#!/bin/bash -e
if [[ $USE_OPTIONAL != "true" && $USE_OPTIONAL != "false" ]]; then
echo "fatal: \$USE_OPTIONAL not set to true or false. Exiting."
exit 1
fi
pip install -r requirements-test.txt
if [[ $USE_OPTIONAL == "true" && $TRAVIS_PYTHON_VERSION != "pypy" ]]; then
if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then
pip install --allow-external Genshi --allow-insecure Genshi -r requirements-optional-2.6.txt
else
pip install --allow-external Genshi --allow-insecure Genshi -r requirements-optional-cpython.txt
fi
fi