buildscripts: make the script fail for the right reason when using set -e (#3628)

This commit is contained in:
zpencer 2017-10-27 08:54:08 -07:00 committed by GitHub
parent bbe81d0870
commit d840227165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -29,7 +29,9 @@ echo "errorProne=true" >> $HOME/.gradle/gradle.properties
# Run tests
./gradlew assemble generateTestProto install
pushd examples && ./gradlew build && popd
pushd examples
./gradlew build
# --batch-mode reduces log spam
pushd examples && mvn verify --batch-mode && popd
mvn verify --batch-mode
popd
# TODO(zpencer): also build the GAE examples