Skip to content
This repository has been archived by the owner on Jan 30, 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
weierophinney committed May 9, 2012
12 parents aee3039 + d0c6f97 + def4669 + 1d9336b + 186c74b + 06a51e4 + 3c55c64 + 8673a50 + c5e096f + 21a2d03 + 63799fd + 457cc49 commit 38b9dfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis/run-tests.sh
Original file line number Diff line number Diff line change
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 38b9dfb

Please sign in to comment.