Commit 0f4fd87e authored by Michal Čihař's avatar Michal Čihař

Run Selenium tests on SQLite

This in memory backend is faster than MySQL.
parent 50f80fe5
......@@ -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 mysql-1.5 ; then export TEST_SELENIUM=1 ; curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash ; fi
- 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
# commands to run tests
script:
- ./scripts/generate-locales
......
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