Commit 6a772a7d authored by Michal Čihař's avatar Michal Čihař

Setup Selenium only if configured

This avoids failures on pull requests.
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 620331c6
......@@ -6,6 +6,6 @@ mysql -e 'DROP DATABASE IF EXISTS weblate;'
mysql -e 'CREATE DATABASE weblate CHARACTER SET utf8 COLLATE utf8_general_ci;'
psql -c 'DROP DATABASE IF EXISTS weblate;' -U postgres
psql -c 'CREATE DATABASE weblate;' -U postgres
if [ -n "$CI_SELENIUM" ] ; then
if [ -n "$CI_SELENIUM" -a -n "$SAUCE_USERNAME" -a -n "$SAUCE_ACCESS_KEY" ] ; then
curl -L https://gist.githubusercontent.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash
fi
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