#!/bin/bash
travisdir=$(dirname $(readlink /proc/$$/fd/255))
testdir="$travisdir/../tests"
testedcomponents=(`cat "$travisdir/tested-components"`)
result=0

for tested in "${testedcomponents[@]}"
    do
        echo "$tested:"
        phpunit -c $testdir/phpunit.xml --stderr $testdir/$tested
        result=$(($result || $?))
done

exit $result

#!/bin/bash
travisdir=$(dirname $(readlink /proc/$$/fd/255))
testdir="$travisdir/../tests"
testedcomponents=(`cat "$travisdir/tested-components"`)
result=0

for tested in "${testedcomponents[@]}"
    do
        echo "$tested:"
        phpunit -c $testdir/phpunit.xml $testdir/$tested
        result=$(($result || $?))
done

exit $result

Remove --stderr switch from Travis test runner
Remove --stderr switch from Travis test runner

- Appears that it may not be necessary
