Commit 10716dc0 authored by Michal Čihař's avatar Michal Čihař

Drop database for reused environments

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 706b5104
...@@ -24,7 +24,8 @@ install: ...@@ -24,7 +24,8 @@ install:
before_script: before_script:
- mysql -e 'DROP DATABASE IF EXISTS weblate;' - mysql -e 'DROP DATABASE IF EXISTS weblate;'
- mysql -e 'CREATE DATABASE weblate CHARACTER SET utf8 COLLATE utf8_general_ci;' - mysql -e 'CREATE DATABASE weblate CHARACTER SET utf8 COLLATE utf8_general_ci;'
- psql -c 'create database weblate;' -U postgres - psql -c 'DROP DATABASE IF EXISTS weblate;' -U postgres
- psql -c 'CREATE DATABASE weblate;' -U postgres
- if [ -n "$DO_SELENIUM" ] ; then curl -L https://gist.githubusercontent.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash ; fi - if [ -n "$DO_SELENIUM" ] ; then curl -L https://gist.githubusercontent.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash ; fi
- mkdir -p shippable/testresults - mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage - mkdir -p shippable/codecoverage
......
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