Skip to content

Commit

Permalink
snapshot build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Nield authored and Thomas Nield committed Nov 1, 2018
1 parent 6b249f4 commit 5cf449a
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions gradle/buildViaTravis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,4 @@ buildTag="$TRAVIS_TAG"

export GRADLE_OPTS=-Xmx1024m


if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
./gradlew -PreleaseMode=pr build
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
./gradlew -PreleaseMode=full -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build --stacktrace
else
echo -e 'WARN: Should not be here => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG'] Pull Request ['$TRAVIS_PULL_REQUEST']'
fi
./gradlew -PreleaseMode=full -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build --stacktrace

0 comments on commit 5cf449a

Please sign in to comment.