diff --git a/.travis.yml b/.travis.yml index b7abd6a..45581d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,5 +34,11 @@ after_failure: before_script: # Install Nette Tester & Code Checker - - composer update --no-interaction --prefer-source $dependencies - - composer create-project nette/code-checker code-checker ~2.2 --no-interaction --prefer-source + - travis_retry composer update --no-interaction --prefer-dist $dependencies + - travis_retry composer create-project nette/code-checker code-checker ~2.5 --no-interaction + +sudo: false + +cache: + directories: + - $HOME/.composer/cache