Use --prefer-dist to improve CI perf

https://twitter.com/seldaek/status/708236348281495552
This commit is contained in:
Jeremy Benoist 2016-03-11 14:55:33 +01:00
parent 6aed6d69a5
commit 66e2be2371

View file

@ -50,6 +50,6 @@ 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