From 86f4287eba9ae33a0df7e16ca989d14dce5c0156 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sat, 11 Jul 2015 22:57:56 +0200 Subject: [PATCH] travis: migrating to container-based infrastructure --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fab563607..3488ac67c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,12 @@ after_failure: before_script: # Install Nette Tester & Code Checker - - composer install --no-interaction --dev --prefer-source - - composer create-project nette/code-checker code-checker ~2.3 --no-interaction --prefer-source + - travis_retry composer install --no-interaction --prefer-dist + - travis_retry composer create-project nette/code-checker code-checker ~2.5 --no-interaction - if [ $TRAVIS_PHP_VERSION == "5.6" ]; then npm install -g grunt-cli; cd tests/netteForms; npm install; bower install; cd ../..; fi + +sudo: false + +cache: + directories: + - $HOME/.composer/cache