Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit with a non zero code if any of the two suites (realtime or rest) fails #407

Merged
merged 1 commit into from
Jul 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ci/run-java-tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# We unset this, otherwise gradlew picks up settings also from the android "context", like here: https://travis-ci.org/ably/ably-java/jobs/353969106#L1980
unset ANDROID_HOME

./gradlew java:testRealtimeSuite
./gradlew java:testRestSuite
ret=0
./gradlew java:testRealtimeSuite || ret=1
./gradlew java:testRestSuite || ret=1
exit $ret