kemitix-checkstyle-ruleset/travis-ci/travis-deploy.sh

11 lines
433 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2017-05-29 14:46:59 +01:00
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
2017-05-28 17:38:59 +01:00
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