From 5a7da56c0c8ed78b961865579d7813d6ad367cb5 Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Wed, 18 Jan 2017 22:05:09 +0100 Subject: [PATCH] Fixes possible breakage on PR-builds --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6388232..61e743a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,7 @@ addons: before_install: - travis_retry composer self-update - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi - - echo $DECRYPT_KEY | gpg --passphrase-fd 0 JUnitDiffSigning.asc.gpg - - gpg --batch --yes --import JUnitDiffSigning.asc + - if [[ $BUILD_PHAR == 'true' && $TRAVIS_TAG != '' ]]; then echo $DECRYPT_KEY | gpg --passphrase-fd 0 JUnitDiffSigning.asc.gpg && gpg --batch --yes --import JUnitDiffSigning.asc ; fi install: