diff options
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
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 |