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 97af027 commit 828887e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ before_script: |
if [ "$PHPV" -ne 52 ]; then
composer install
else
X="$HOME/.idiorm/bin"
export X="$HOME/.idiorm/bin"
mkdir -p "$X"
curl -sSfL https://phar.phpunit.de/phpunit-4.phar -o "$X/phpunit"
chmod +x "$X/phpunit"
export PATH="$X:$PATH"
fi
script: phpunit --colors --coverage-text
script: |
if [ "$PHPV" -ne 52 ]; then
XZ="composer run-script test --"
else
XZ="$X/phpunit"
fi
$XZ --colors --coverage-text

0 comments on commit 828887e

Please sign in to comment.