From 845897f415fcba0018c180d667c1a6b03028d94c Mon Sep 17 00:00:00 2001 From: Chris Wilkinson Date: Sat, 12 Mar 2016 18:42:24 +0000 Subject: [PATCH] Improve Travis config --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 26780dec..a8e0b045 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,10 @@ php: - 7.0 - hhvm +cache: + directories: + - $HOME/.composer/cache/files + matrix: fast_failure: true include: @@ -27,6 +31,6 @@ before_install: - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony:$SYMFONY_VERSION; fi install: - - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable --prefer-source --no-interaction; else composer update --prefer-source --no-interaction; fi; + - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction; else composer update --prefer-dist --no-interaction; fi; script: ./vendor/bin/phpunit --coverage-text