Skip to content

Commit

Permalink
fix(travis): Giving max-workers=3 a shot on the release build (#4075)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens authored Oct 4, 2019
1 parent c451f3e commit 3be9870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/buildViaTravis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script will build the project.

GRADLE_1="./gradlew -PenablePublishing=true --no-daemon --max-workers=1"
GRADLE_2="./gradlew -PenablePublishing=true --no-daemon --max-workers=2"
GRADLE_3="./gradlew -PenablePublishing=true --no-daemon --max-workers=3"
export GRADLE_OPTS="-Xmx1g -Xms1g"

if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
Expand All @@ -20,7 +20,7 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then
$GRADLE -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -x test -x check candidate --stacktrace
;;
*)
$GRADLE_2 -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -x test -x check -x javadoc -x publishBuildDeb final --stacktrace
$GRADLE_3 -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -x test -x check -x javadoc -x publishBuildDeb final --stacktrace
;;
esac
else
Expand Down

0 comments on commit 3be9870

Please sign in to comment.