mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-05-26 08:54:14 +08:00
All are now called CI_* instead of DJANGO_*, DO_* and TRAVIS_*. Signed-off-by: Michal Čihař <michal@cihar.com>
11 lines
403 B
Bash
Executable file
Vendored
11 lines
403 B
Bash
Executable file
Vendored
#!/bin/sh
|
|
# Environment setup
|
|
set -e
|
|
set -x
|
|
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
|
|
curl -L https://gist.githubusercontent.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash
|
|
fi
|