From d95abc7801a9935dc80313980368205de9c2a5bc Mon Sep 17 00:00:00 2001 From: Willem Stuursma Date: Wed, 25 Jan 2017 10:17:47 +0100 Subject: [PATCH] Update travis to cache vendor, use dist --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4ecea54..939aa05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,13 @@ php: sudo: false +cache: + directories: + - vendor + - $HOME/.composer/cache + install: - - travis_retry composer install --no-interaction --prefer-source + - travis_retry composer install --no-interaction script: - if [ "$TRAVIS_PHP_VERSION" != "5.5.9" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" != "5.6" ]; then vendor/bin/phpunit; fi