From b8f09de9c802f2d2044c4dc0534c9fbc47eca19b Mon Sep 17 00:00:00 2001 From: Chris Smalley Date: Fri, 13 Mar 2020 11:54:59 -0700 Subject: [PATCH] chore(build): Remove old TravisCI files (#604) --- gradle/buildViaTravis.sh | 32 -------------------------------- gradle/installViaTravis.sh | 20 -------------------- gradle/prepCaches.sh | 4 ---- 3 files changed, 56 deletions(-) delete mode 100755 gradle/buildViaTravis.sh delete mode 100755 gradle/installViaTravis.sh delete mode 100755 gradle/prepCaches.sh diff --git a/gradle/buildViaTravis.sh b/gradle/buildViaTravis.sh deleted file mode 100755 index 71672c57d..000000000 --- a/gradle/buildViaTravis.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# This script will build the project. - -set -e - -GRADLE="./gradlew -PenablePublishing=true --no-daemon --max-workers=1" -export GRADLE_OPTS="-Xmx1g -Xms1g" - -if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then - echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" - $GRADLE build -elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then - echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']' - $GRADLE -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" build snapshot --stacktrace -elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then - echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']' - case "$TRAVIS_TAG" in - *-rc\.*) - $GRADLE -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" candidate --info - ;; - *) - $GRADLE --info -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" final - # delay a bit to let published artifacts get all mirrored etc before autobumping - sleep 60 - $GRADLE --info -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -Pgithub.token="${githubToken}" bumpDependencies - ;; - esac -else - echo -e 'WARN: Should not be here => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG'] Pull Request ['$TRAVIS_PULL_REQUEST']' - $GRADLE build -fi - diff --git a/gradle/installViaTravis.sh b/gradle/installViaTravis.sh deleted file mode 100755 index e46affab2..000000000 --- a/gradle/installViaTravis.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# This script will build the project. - -GRADLE="./gradlew -PenablePublishing=true --no-daemon --max-workers=1" -export GRADLE_OPTS="-Xmx1g -Xms1g" - -if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then - echo -e "Assemble Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" - $GRADLE assemble -elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then - echo -e 'Assemble Branch with Snapshot => Branch ['$TRAVIS_BRANCH']' - $GRADLE -Prelease.travisci=true assemble -elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then - echo -e 'Assemble Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']' - $GRADLE -Prelease.travisci=true assemble -else - echo -e 'WARN: Should not be here => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG'] Pull Request ['$TRAVIS_PULL_REQUEST']' - $GRADLE assemble -fi - diff --git a/gradle/prepCaches.sh b/gradle/prepCaches.sh deleted file mode 100755 index 199ea632c..000000000 --- a/gradle/prepCaches.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -rm -f $HOME/.gradle/caches/modules-2/modules-2.lock -