1
0
Fork 0

Fix the Travis configuration

exit should not be used in script commands, because it exits the whole build script.
Thus, turning a failure exit code into another failure exit code is not needed.
pull/3486/head
Christophe Coevoet 2014-12-02 11:39:01 +01:00
parent 947c1fbabb
commit 557381f49f
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ before_script:
- git config --global user.email travis@example.com - git config --global user.email travis@example.com
script: script:
- ls -d tests/Composer/Test/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml {};' || exit 1 - ls -d tests/Composer/Test/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml {};'
git: git:
depth: 5 depth: 5