From 56bb84632bdf904b9d6dd06e3a5ed606bd9ba4c8 Mon Sep 17 00:00:00 2001 From: Simon Holywell Date: Fri, 5 Jan 2018 10:38:35 +1000 Subject: [PATCH] update travis with new phpunit52 and cache directives --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 21719c0d..fee02856 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ install: | # special handling for PHP 5.2 testing as there is no composer available export X="$HOME/.idiorm/bin" mkdir -p "$X" - curl -sSfL https://github.com/treffynnon/php5.2-phpunit3.6.12-phar/releases/download/1.0.0/php52-phpunit.phar -o "$X/phpunit" + curl -sSfL https://github.com/treffynnon/php5.2-phpunit3.6.12-phar/releases/download/1.0.2/php52-phpunit.phar -o "$X/phpunit" chmod +x "$X/phpunit" fi script: | @@ -35,3 +35,8 @@ script: | # we need phpunit-3.6.12, but there is no phar file for it so comment out for now $X/phpunit --colors --coverage-text fi +cache: + directories: + - $HOME/.composer/cache + - $HOME/.idiorm + - vendor \ No newline at end of file