File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ before_install:
2424jobs :
2525 include :
2626 - stage : Build
27+ dist : trusty
2728 script : " ./gradlew clean build -x integrationTest"
2829 if : type IN (pull_request) AND branch = master
2930 - stage : Test & Build
@@ -44,11 +45,13 @@ jobs:
4445 - bash <(curl -s https://codecov.io/bash)
4546 if : NOT type IN (pull_request) AND branch = master
4647 - stage : Publish to Maven Centeral
48+ dist : trusty
4749 script : " ./gradlew final publishToNexus -Prelease.useLastTag=true -PnexusUsername=${NEXUS_USERNAME}
4850 -PnexusPassword=${NEXUS_PASSWORD} -Psigning.keyId=${GPG_KEY_ID} -Psigning.password=${GPG_KEY_PASSPHRASE}
4951 -Psigning.secretKeyRingFile=${TRAVIS_BUILD_DIR}/config/allanim.gpg"
5052 if : NOT type IN (pull_request) AND tag IS present
5153 - stage : Publish to Nexus Snapshot
54+ dist : trusty
5255 script : " ./gradlew snapshot publishToNexus -Prelease.scope=patch -PnexusUsername=${NEXUS_USERNAME}
5356 -PnexusPassword=${NEXUS_PASSWORD} -Psigning.keyId=${GPG_KEY_ID} -Psigning.password=${GPG_KEY_PASSPHRASE}
5457 -Psigning.secretKeyRingFile=${TRAVIS_BUILD_DIR}/config/allanim.gpg"
You can’t perform that action at this time.
0 commit comments