Skip to content

Commit 1fb6b7d

Browse files
authored
Merge pull request #90 from allanim/master
update travis
2 parents d5b5541 + 6c2cb3f commit 1fb6b7d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ before_install:
2424
jobs:
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"

0 commit comments

Comments
 (0)