Skip to content

Commit

Permalink
Add Automatic deploy support
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Jun 15, 2019
1 parent fd35d58 commit 8265ea3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
secring.gpg


# Created by https://www.gitignore.io/api/intellij,gradle
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,13 @@ cache:
after_success:
- ./gradlew jacocoTestReport
- bash <(curl -s https://codecov.io/bash)

before_deploy: openssl aes-256-cbc -K $encrypted_a8202a3d8441_key -iv $encrypted_a8202a3d8441_iv -in secring.gpg.enc -out secring.gpg -d

deploy:
- provider: script
skip_cleanup: true
script: "./gradlew publishToNexus closeAndReleaseRepository -s -Psigning.keyId=$SIGNING_KEY_ID -Psigning.password=$SIGNING_PASSWORD -Psigning.secretKeyRingFile=$TRAVIS_BUILD_DIR/secring.gpg"
on:
jdk: openjdk11
tags: true
Binary file added secring.gpg.enc
Binary file not shown.

0 comments on commit 8265ea3

Please sign in to comment.