Use gpg instead of gpg2

This commit is contained in:
Andreas Dangel 2017-02-24 20:41:52 +01:00
parent f8f96e886e
commit 97dd84a374

View File

@ -13,7 +13,7 @@ before_install:
- mv .travis/id_rsa "$HOME/.ssh/id_rsa"
- chmod 600 "$HOME/.ssh/id_rsa"
- mkdir -p "$HOME/.gpg"
- gpg2 --batch --import .travis/release-signing-key-82DE7BE82166E84E.gpg
- gpg --batch --import .travis/release-signing-key-82DE7BE82166E84E.gpg
install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash .travis/build-pull-request.sh; fi'