Commit a54b7936 authored by Michal Čihař's avatar Michal Čihař

Run selenium in all test cases

parent 83fb7b10
......@@ -40,7 +40,7 @@ before_script:
- cp weblate/settings_example.py weblate/settings.py
- mysql -e 'create database weblate;'
- psql -c 'create database weblate;' -U postgres
- if echo $DATABASE-$DJANGO_VERSION | grep -q sqlite-1.5 ; then export TEST_SELENIUM=1 ; curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash ; fi
- curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash
# commands to run tests
script:
- ./scripts/generate-locales
......
......@@ -10,8 +10,7 @@ import base64
# Check whether we should run Selenium tests
DO_SELENIUM = (
'TEST_SELENIUM' in os.environ
and 'SAUCE_USERNAME' in os.environ
'SAUCE_USERNAME' in os.environ
and 'SAUCE_ACCESS_KEY' in os.environ
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment