Skip to content

Instantly share code, notes, and snippets.

@AydinHassan
Created April 2, 2014 20:51
Show Gist options
  • Save AydinHassan/9942903 to your computer and use it in GitHub Desktop.
Save AydinHassan/9942903 to your computer and use it in GitHub Desktop.
Travis build script
for d in module/*/test
do
echo "Running $d tests"
fileName=$(echo $d | tr '/' '-')
vendor/bin/phpunit -c $d/phpunit.xml --coverage-php build/coverage/coverage-$fileName.cov $d
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment