X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=5f0abe8715a5afdd8dcfe153a00a1589ac114d86;hb=refs%2Fpull%2F1675%2Fhead;hp=819d29fdc947db3564094dca32d88410edeb3a43;hpb=fd3fd481a66478931be6800127d8473621aba272;p=github%2Fwallabag%2Fwallabag.git diff --git a/.travis.yml b/.travis.yml index 819d29fd..5f0abe87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,8 +44,10 @@ before_script: - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi; - 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; script: - travis_wait composer update --no-interaction --no-progress