From 62246220197125badcb19a1805a9f4d7daa402af Mon Sep 17 00:00:00 2001 From: Simon Holywell Date: Tue, 2 Jan 2018 16:34:31 +1000 Subject: Update .travis.yml --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 720406e..931d4ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,15 +17,17 @@ before_script: | if [ "$PHPV" -ne 52 ]; then composer install else + # special handling for PHP 5.2 testing as there is no composer available export X="$HOME/.idiorm/bin" mkdir -p "$X" - curl -sSfL https://phar.phpunit.de/phpunit-4.phar -o "$X/phpunit" + curl -sSfL https://phar.phpunit.de/phpunit-3.phar -o "$X/phpunit" chmod +x "$X/phpunit" fi script: | if [ "$PHPV" -ne 52 ]; then XZ="composer run-script test --" else + # special handling for PHP 5.2 testing as there is no composer available XZ="$X/phpunit" fi $XZ --colors --coverage-text -- cgit v1.2.3