Added signing properties to assemble command
@@ -11,6 +11,10 @@ before_script:
- unzip tmp.zip
- mv gnatsd-$gnatsd_version-linux-amd64 gnatsd
+install:
+- sudo apt-get install -y gnupg2
+- ./gradlew assemble -x signArchives -Psigning.keyId=${GPG_KEY_ID} -Psigning.password=${GPG_KEY_PASSPHRASE} -Psigning.secretKeyRingFile=.travis/nats.travis.gpg
+
script:
- ./graldew check
@@ -22,9 +26,6 @@ cache:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
-install:
-- ./gradlew assemble -x signArchives
-
after_success:
- ./gradlew test jacocoTestReport coveralls
- ./deploy.sh
