diff --git a/.travis.yml b/.travis.yml
index 18f7052c..2cc58dae 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,7 +25,8 @@ install:
script:
- whereis google-chrome-stable
- whereis chromedriver
- - export GPG_TTY=`tty`
+ - GPG_TTY=$(tty)
+ - export GPG_TTY
- gpg --version
- gpg2 --version
- mvn test -B -Ptravis -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
diff --git a/pom.xml b/pom.xml
index 6305de01..295a8f83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -217,6 +217,12 @@
org.apache.maven.plugins
maven-gpg-plugin
1.6
+
+
+ --pinentry-mode
+ loopback
+
+
sign-artifacts