Cleaning up travis for local vs automated build support in gradle
@@ -17,7 +17,7 @@ before_install:
- openssl aes-256-cbc -K $encrypted_f07928735f08_key -iv $encrypted_f07928735f08_iv
-in .travis/nats.travis.gpg.enc -out .travis/nats.travis.gpg -d
install:
-- "./gradlew assemble -x signArchives"
+- "./gradlew assemble"
script:
- "./gradlew check"
#for testing - "./gradlew build -x test"
@@ -30,13 +30,9 @@ cache:
- "$HOME/.gradle/wrapper/"
after_success:
- "./gradlew test jacocoTestReport coveralls"
-- |
- if [ "${TRAVIS_BRANCH}" == "travis_deploy" ] && [ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_JDK_VERSION}" == "oraclejdk8" ]; then
- ./gradlew -i sign publishToSonatype
- fi
- |
if [ "${TRAVIS_BRANCH}" == "master" ] && [ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_JDK_VERSION}" == "oraclejdk8" ]; then
- ./gradlew -i sign publishToSonatype
+ ./gradlew -i publishToSonatype
fi
- |
if [ "${TRAVIS_BRANCH}" == "${TRAVIS_TAG}" ] && [ ! -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_JDK_VERSION}" == "oraclejdk8" ]; then
