diff options
author | Michal Čihař <michal@cihar.com> | 2017-03-22 12:31:50 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-03-22 12:31:50 +0300 |
commit | 0a3a1f07c46197a4f88aaeb1a3c23bc040861176 (patch) | |
tree | 9d993aca5d636b458b66818bac3ab12add2bfb46 /.travis.yml | |
parent | 82d18f622918e79f9834e2440c1d3abd0f7ed399 (diff) |
Generate random passwords for test
This way nobody will think there is anything secret in the .travis.yml.
Fixes #13115
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 9f83839c60..7ed8fd8180 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,6 @@ env: - CI_MODE=test global: - TESTSUITE_USER=root - - TESTSUITE_PASSWORD=root - TESTSUITE_URL=http://127.0.0.1:8000 install: @@ -34,6 +33,7 @@ install: - if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then case "$TRAVIS_PHP_VERSION" in hhvm*) ;; *) phpenv config-add test/php-noprofile.ini ;; esac ; fi before_script: + - export TESTSUITE_PASSWORD=`openssl rand -base64 30` - export PATH=~/.composer/vendor/bin/:$PATH - mysql -uroot -e "CREATE DATABASE IF NOT EXISTS test" - mysql -uroot < sql/create_tables.sql |