diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-10-18 12:03:34 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-10-18 12:03:34 +0200 |
commit | 6c6a37b9128189ba4cdde8128428a36ef75d1a44 (patch) | |
tree | 24588b7a68fdf96f308a1d9a49481d87c5f8b79c | |
parent | 9d3aa50fb25fec5de52fdea3ce42a433418e7773 (diff) | |
download | go-git-6c6a37b9128189ba4cdde8128428a36ef75d1a44.tar.gz |
travis: fix ssh key
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | .travis/install_key.sh | 1 |
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 |