diff --git a/.travis.yml b/.travis.yml
index b167328..528aa2d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,8 +7,10 @@ cache:
install: true
script: "./mvnw clean install"
after_success:
-- "./travis-coveralls-report.sh"
-- '[[ $TRAVIS_BRANCH == "master" ]] && ./travis-deploy.sh'
+- "./travis-ci/travis-coveralls-report.sh"
+- "./travis-ci/travis-deploy.sh"
env:
global:
- secure: jKTenQ9C2eoL+kchzdekj375h4naZ0776hVkuZxcejT2m/dMIKP4X4WXYzIY1U1cPcCgHRk5IgZ3qUCQ74+pGDGjut7uYKmZOu1rZ8m1jvt0jbrmDs4N5mL0EiXKkju6jPKcEK5kgM2QEN0y2aEnDVwNTfdIQaAGcpA0Ib1M15Vlizvso5COnBhRzK7ZXs4DRGIvDbEOHW715pM+xHvNGQPaBxCaT+ofHRROQ+O+g9SGkSM5aHtRFhq3Mw0k1OIxRkF/m8D0O6O8gg7HlRZAMY7SXfccvz+egMPzFam4GjfYzdPfHzMBY46BOB1Mn0Y4V2nS6hYrl4EQRgdlibPbynRZzl4xZIWciOW9jXWC/7sbDApAov7UQzLmdxxvQbE6M9O8YfMnB4GDNjnpa9eqqVPOLr5/beQJ6YRfOz+KT50CiHm7eWPJb9Ye6jbMAXBknl3CqIwkK+z4/gENwH2aPoTnYqWlSdCoSNOVlKz18HcIGVDBMf2N27nSUOdqxPQE7XSlu5GhEG2FSRg0mzvs8n2fqf/qszaHn1b+1pKshgomBU2KyyF/OEXvSXaZxj2GpybwxDTcTKLDkfuWT1nWNXg5ftDWX4e+iPQAbj/l/m2pmbQ0zLsg6MzffYG7vFPkA1rvL9qBbaIDJEEnest8cFe//76B7jSE/1jT/9zc7vE=
+ - secure: Aq+1PsvZoRPi4/yvKfF9b7PFPb6BGwjBKwva3nJznT7yDO7H2QjpZEs8csvnobdNf5zCdSJGifcxhQjKpwD1YF5Y3Szw9bSFBE0UsNmuJY0Ls92fqSwEJmfs81gEs2VLgdXTP1jt4t2hzjyY77C1t3wQY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7KVyYF+nvlEproGfcLImH9sxCQFaYXAU5Bv5fgOFa1qmMN3Ku+oMsmuo6LIJPclxcRjT7iy1Qxokgqe9A+fQEMhM24URndxjd8nu444taSm5/xxxF04gxM/Zk07/WXxNfuGo=
+ - secure: RYNyODJtcTu/A2pWOLGOfrcR3aiqFUpKk8NqScHlEX1uB1XoRlXl2EoXwD+8v4CPdTkEisz1cPUwFGMI+aq5qCN724Hyefvon5RV1bqbntDzbt8uaOaCVb2V0yXsrRXM4HHhbmEjZWlvZJtxf2Un9yxCOly3VOZh9UUMv/8sf+lp5ijOzFlLbcOXc5d+DbqhuuP7rypp34OXnDV6jo4qaeEbcucruo9ZS1kQ4vRKWQSpDCOuxYOaYF2lS2T3LNnrfhH/fXgwx1K/oSytwVZAw2Qcx+5m0A9lwB4c6Cn3BiJUv7QaCduWXhoMxudXh1spT6WzGFw8HqypmvfLt2+DQtUOKFlJz76Q8w+GpwJCtzbXNd6KHqIeL3o3Tq48FViB06aN4NceaFyj3POM+QEkozNao+DguKVaB5gzOFmPTC8QCf8U/2HRfyw2/2tAgK27loaolXumCg/yfvr0vPsX6B3dAAC2gbWemaiZxkue/Wivkx+3dRJvutcHBs/dkhvxL6nkOW4rY79dHcnl33Lmyf5UWkkoNkrcT4r+1eXYB5nRAkAnwVK8xlpMVTQNB6b2TXnrvqhoi2wTbWNyu0rSTDifgY1NTYGqA0w5hlZtUi7xqxa/i8qBvOJXX4wrvCL8JCDEvzzqJ4MJ6Ajwi67TVPjf8vb8nMW1hETDeuJ20jY=
diff --git a/builder/pom.xml b/builder/pom.xml
index 0d9d1cd..1d0ffbf 100644
--- a/builder/pom.xml
+++ b/builder/pom.xml
@@ -24,9 +24,9 @@
- scm:git:git@github.com:kemitix/kemitix-checkstyle-ruleset.git
+ https://github.com/kemitix/kemitix-checkstyle-ruleset
+ scm:git:git://github.com/kemitix/kemitix-checkstyle-ruleset.git
scm:git:git@github.com:kemitix/kemitix-checkstyle-ruleset.git
- git@github.com:kemitix/kemitix-checkstyle-ruleset.git
https://github.com/kemitix/kemitix-checkstyle-ruleset
diff --git a/travis-ci/codesigning.asc.enc b/travis-ci/codesigning.asc.enc
new file mode 100644
index 0000000..5b3501d
Binary files /dev/null and b/travis-ci/codesigning.asc.enc differ
diff --git a/travis-coveralls-report.sh b/travis-ci/travis-coveralls-report.sh
similarity index 100%
rename from travis-coveralls-report.sh
rename to travis-ci/travis-coveralls-report.sh
diff --git a/travis-ci/travis-deploy.sh b/travis-ci/travis-deploy.sh
new file mode 100755
index 0000000..240dd26
--- /dev/null
+++ b/travis-ci/travis-deploy.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
+ openssl aes-256-cbc -K $encrypted_efec3258f55d_key -iv $encrypted_efec3258f55d_iv \
+ -in travis-ci/codesigning.asc.enc -out travis-ci/codesigning.asc -d
+ gpg --batch --fast-import travis-ci/codesigning.asc
+ ./mvnw --projects plugin,ruleset --settings travis-ci/travis-settings.xml \
+ -Dskip-Tests=true -P release -B deploy
+fi
+
diff --git a/travis-settings.xml b/travis-ci/travis-settings.xml
similarity index 51%
rename from travis-settings.xml
rename to travis-ci/travis-settings.xml
index 9242a97..e2d8c63 100644
--- a/travis-settings.xml
+++ b/travis-ci/travis-settings.xml
@@ -12,4 +12,17 @@
${env.CI_DEPLOY_PASSWORD}
+
+
+ gpg-sign
+
+ true
+
+
+ gpg
+ ${env.CI_DEPLOY_GPG_KEYNAME}
+ ${env.CI_DEPLOY_GPG_PASSPHRASE}
+
+
+
diff --git a/travis-deploy.sh b/travis-deploy.sh
deleted file mode 100755
index 2ab4d1b..0000000
--- a/travis-deploy.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env bash
-
-./mvnw --projects plugin,ruleset --settings travis-settings.xml -Dskip-Tests=true -P release -B deploy