Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Fix Travis test-runner
Browse files Browse the repository at this point in the history
- $result was getting calculated incorrectly
- use --stderr switch for phpunit
  • Loading branch information
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis/run-tests.sh
Expand Up @@ -7,8 +7,8 @@ result=0
for tested in "${testedcomponents[@]}"
do
echo "$tested:"
phpunit -c $testdir/phpunit.xml $testdir/$tested
let "result = $result || $?"
phpunit -c $testdir/phpunit.xml --stderr $testdir/$tested
result=$(($result || $?))
done

exit $result
exit $result

0 comments on commit c7713e1

Please sign in to comment.