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