aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 74f9a68..a9b1d3c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,11 +10,8 @@ matrix:
before_install:
- # we only decrypt the ssh key when we aren't in a pull request
- - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then openssl aes-256-cbc -K $encrypted_1477e58fe67a_key -iv $encrypted_1477e58fe67a_iv -in .travis/deploy.pem.enc -out .travis/deploy.pem -d; fi'
- - eval "$(ssh-agent -s)"
- - chmod 600 .travis/deploy.pem
- - ssh-add .travis/deploy.pem
+ # 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'
install:
- rm -rf $GOPATH/src/gopkg.in/src-d