X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=5741b533a51aeb7d893c62c024daba1898f7b6ff;hb=bc2b947cd54e49a03c267f3c0f13dc5b8a04d962;hp=819d29fdc947db3564094dca32d88410edeb3a43;hpb=fd3fd481a66478931be6800127d8473621aba272;p=github%2Fwallabag%2Fwallabag.git diff --git a/.travis.yml b/.travis.yml index 819d29fd..5741b533 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,10 +44,12 @@ 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 + - travis_wait composer install --no-interaction --no-progress --prefer-dist -o - ant prepare-$DB - bin/phpunit -v