Skip to content

Commit

Permalink
Split test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Nov 24, 2015
1 parent 867c603 commit 917d7b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion travis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ if [[ $TRAVIS_TAG =~ ^v[[:digit:]] ]]; then
echo "Tagged Release Skipping Tests for Publish"
else
echo "Executing tests"
./gradlew --stacktrace test || EXIT_STATUS=$?
./gradlew --stacktrace test -x grails-test-suite-web:test || EXIT_STATUS=$?
if [[ $EXIT_STATUS == 0 ]]; then
./gradlew --stop
./gradlew --stacktrace grails-test-suite-web:test || EXIT_STATUS=$?
fi
echo "Done."
if [[ $EXIT_STATUS == 0 ]]; then
echo "Executing integration tests"
Expand Down

0 comments on commit 917d7b0

Please sign in to comment.