From 99f0740167fc18ead67a0e5d53307c474fa92c1b Mon Sep 17 00:00:00 2001 From: Jens Hausdorf Date: Mon, 16 Oct 2017 17:52:45 +0200 Subject: [PATCH] speed up travis build --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4bf448a..f61aecf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,11 @@ branches: only: - master +cache: + directories: + - $HOME/.composer/cache + - $HOME/.cache + php: - 5.4 - 5.5 @@ -29,7 +34,7 @@ before_install: install: - sudo apt-get install -y ffmpeg - - composer update --prefer-source $COMPOSER_FLAGS + - composer update --prefer-dist $COMPOSER_FLAGS script: - vendor/bin/phpunit --verbose