Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Commit

Permalink
travis: fix ssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
mcuadros committed Oct 18, 2016
1 parent 9d3aa50 commit 6c6a37b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .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

0 comments on commit 6c6a37b

Please sign in to comment.