diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-10-24 19:42:46 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-10-24 19:42:46 +0300 |
commit | b6ad77ebd1740991ca7c55bf520ad7ab3a60a95c (patch) | |
tree | 58d8c8a28640b21973ddade0f63ef9b1bcf954d6 /.travis.yml | |
parent | 6d0464260f0a8bdf8585d0b5e3724f870f1166a5 (diff) |
update db/user name
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index a1f989e..81df1f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,10 +41,10 @@ before_install: - if [[ "$PHP_COVERAGE" = "FALSE" ]]; then phpenv config-rm xdebug.ini; fi # Set up DB - - if [[ "$DB" == 'pgsql' ]]; then createuser -U travis -s oc_autotest; fi - - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'create database oc_autotest;'; fi - - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY '';"; fi - - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "GRANT ALL ON oc_autotest.* TO 'oc_autotest'@'localhost';"; fi + - if [[ "$DB" == 'pgsql' ]]; then createuser -U travis -s nc_autotest; fi + - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'create database nc_autotest;'; fi + - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "CREATE USER 'nc_autotest'@'localhost' IDENTIFIED BY '';"; fi + - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "GRANT ALL ON nc_autotest.* TO 'nc_autotest'@'localhost';"; fi - composer self-update - composer install @@ -55,7 +55,7 @@ before_install: before_script: # Set up core - - php -f core/occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass='' + - php -f core/occ maintenance:install --database-name nc_autotest --database-user nc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass='' # Set up app - php -f core/occ app:enable twofactor_u2f |