There was an error while loading. Please reload this page.
1 parent 3052527 commit a598759Copy full SHA for a598759
1 file changed
buildViaTravis.sh
@@ -4,6 +4,9 @@
4
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
5
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
6
./gradlew build
7
+elif [ "${bintrayUser}" == "" ]; then
8
+ echo -e "Building with no environment variables set => Forked repository"
9
+ ./gradlew build
10
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
11
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
12
./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build snapshot
0 commit comments