From ded72a942fa2f2cc5534ff7a68789cefc93e437c Mon Sep 17 00:00:00 2001 From: Samuel Demirdjian Date: Wed, 23 Mar 2016 17:28:31 +0200 Subject: [PATCH] Resolve composer downloading and caching issues on Travis --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index dacfadb..212f748 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,7 @@ branches: cache: directories: - - vendor - - $HOME/.composer/cache + - $HOME/.composer/cache/files php: - 5.3 @@ -26,8 +25,9 @@ matrix: env: 'COMPOSER_PHPUNIT="lowest"' before_script: - - composer install --prefer-dist - - if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies phpunit/phpunit; fi; + - composer self-update + - composer install --prefer-dist --no-interaction + - if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies --prefer-dist --no-interaction phpunit/phpunit; fi; - vendor/bin/koharness script: -- 2.11.4.GIT