Fix postgres database creation

Test database was renamed in https://github.com/wallabag/wallabag/pull/1639 but the travis configuration was missed
This commit is contained in:
Jeremy Benoist 2016-02-29 09:49:05 +01:00
parent a19a371ae7
commit bb0efca468

View file

@ -45,7 +45,7 @@ before_script:
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi;
- composer self-update --no-progress
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi;
- if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag_test;' -U postgres; fi;
before_install:
- if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;