Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
treffynnon committed Jan 2, 2018
1 parent 828887e commit 6224622
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6224622

Please sign in to comment.