Skip to content

Commit

Permalink
Attempt to repair build. Travis is complaining that the build log is …
Browse files Browse the repository at this point in the history
…too long so added -q to both maven and gradle builds
  • Loading branch information
sapessi committed Jun 27, 2019
1 parent 1a38751 commit 949807a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IFS=$'\n'

echo "STARTING TRAVIS BUILD in $(pwd)"
cd $TRAVIS_BUILD_DIR
mvn install
mvn -q install
if [[ "$?" -ne 0 ]]; then
exit 1
fi
Expand All @@ -15,19 +15,19 @@ for SAMPLE in $(find samples -type d -maxdepth 2 -mindepth 2);
do
echo "BUILDING SAMPLE '$SAMPLE'"
cd $SAMPLE
mvn clean package
mvn -q clean package
if [[ "$?" -ne 0 ]]; then
exit 1
fi
$GRADLE wrapper
$GRADLE -q wrapper
if [[ "$?" -ne 0 ]]; then
exit 1
fi
./gradlew wrapper --gradle-version 5.0
if [[ "$?" -ne 0 ]]; then
exit 1
fi
./gradlew clean build
./gradlew -q clean build
if [[ "$?" -ne 0 ]]; then
exit 1
fi
Expand Down Expand Up @@ -67,24 +67,24 @@ do
exit 1
fi
cd ${TEST_PROJ}
mvn clean package -Pshaded-jar
mvn -q clean package -Pshaded-jar
if [[ "$?" -ne 0 ]]; then
exit 1
fi
mvn clean package
mvn -q clean package
if [[ "$?" -ne 0 ]]; then
exit 1
fi
if [[ -f "$TRAVIS_BUILD_DIR/tmp/$TEST_PROJ/build.gradle" ]]; then
$GRADLE wrapper
$GRADLE -q wrapper
if [[ "$?" -ne 0 ]]; then
exit 1
fi
./gradlew wrapper --gradle-version 5.0
if [[ "$?" -ne 0 ]]; then
exit 1
fi
./gradlew clean build
./gradlew -q clean build
if [[ "$?" -ne 0 ]]; then
exit 1
fi
Expand Down

0 comments on commit 949807a

Please sign in to comment.