summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2018-01-02 16:34:31 +1000
committerGitHub <[email protected]>2018-01-02 16:34:31 +1000
commit62246220197125badcb19a1805a9f4d7daa402af (patch)
tree9b9d643faa173ea09404205c6a11577e779f478a
parent828887e2a068083996aaf88b14180b3b829ee02b (diff)
Update .travis.yml
-rw-r--r--.travis.yml4
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