minor #10950 Fixed the Travis build to avoid exiting too early (stof)

This PR was squashed before being merged into the 2.3 branch (closes #10950).

Discussion
----------

Fixed the Travis build to avoid exiting too early

currently, failed tests on Travis are exiting the build too early, avoiding to run some tests and maybe even loosing some output. See https://github.com/travis-ci/travis-ci/issues/2346 for more details

Commits
-------

2e64fb1 Fixed the Travis build to avoid exiting too early
This commit is contained in:
Fabien Potencier 2014-05-21 03:09:37 +02:00
commit 8850274234
1 changed files with 1 additions and 1 deletions

View File

@ -27,5 +27,5 @@ before_script:
- wget https://phar.phpunit.de/phpunit.phar && rm `which phpunit` && sudo cp phpunit.phar /usr/local/bin/phpunit && sudo chmod +x /usr/local/bin/phpunit
script:
- ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo "Running {} tests"; phpunit --exclude-group tty,benchmark {};' || exit 1
- ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo "Running {} tests"; phpunit --exclude-group tty,benchmark {};' || false
- echo "Running tests requiring tty"; phpunit --group tty