aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--.travis/install_key.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 02d6438..cd6893c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,9 +10,9 @@ matrix:
before_install:
+ - eval "$(ssh-agent -s)"
# we only decrypt the SSH key when we aren't in a pull request
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash .travis/install_key.sh; fi'
- - eval "$(ssh-agent -s)"
install:
- rm -rf $GOPATH/src/gopkg.in/src-d
diff --git a/.travis/install_key.sh b/.travis/install_key.sh
index 0206686..b035092 100644
--- a/.travis/install_key.sh
+++ b/.travis/install_key.sh
@@ -1,4 +1,3 @@
openssl aes-256-cbc -K $encrypted_1477e58fe67a_key -iv $encrypted_1477e58fe67a_iv -in .travis/deploy.pem.enc -out .travis/deploy.pem -d
-eval "$(ssh-agent -s)"
chmod 600 .travis/deploy.pem
ssh-add .travis/deploy.pem