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

Commit 6c6a37b

Browse files
committed
travis: fix ssh key
1 parent 9d3aa50 commit 6c6a37b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ matrix:
1010

1111

1212
before_install:
13+
- eval "$(ssh-agent -s)"
1314
# we only decrypt the SSH key when we aren't in a pull request
1415
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash .travis/install_key.sh; fi'
15-
- eval "$(ssh-agent -s)"
1616

1717
install:
1818
- rm -rf $GOPATH/src/gopkg.in/src-d

.travis/install_key.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
openssl aes-256-cbc -K $encrypted_1477e58fe67a_key -iv $encrypted_1477e58fe67a_iv -in .travis/deploy.pem.enc -out .travis/deploy.pem -d
2-
eval "$(ssh-agent -s)"
32
chmod 600 .travis/deploy.pem
43
ssh-add .travis/deploy.pem

0 commit comments

Comments
 (0)