diff options
author | Simon Holywell <[email protected]> | 2018-01-02 16:34:31 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2018-01-02 16:34:31 +1000 |
commit | 62246220197125badcb19a1805a9f4d7daa402af (patch) | |
tree | 9b9d643faa173ea09404205c6a11577e779f478a | |
parent | 828887e2a068083996aaf88b14180b3b829ee02b (diff) |
Update .travis.yml
-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 |