diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-04-21 14:26:27 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-04-21 14:26:27 +0200 |
commit | 63bbba6804c1ee5f52897aaedb8e58574b056bb9 (patch) | |
tree | 16463dda910015bceea3cfb81f16424d3d370054 /.travis | |
parent | fa9dd838ee89eaff543cdd81e7c97c842f982538 (diff) | |
download | go-git-63bbba6804c1ee5f52897aaedb8e58574b056bb9.tar.gz |
transport: ssh, travis tests
Diffstat (limited to '.travis')
-rwxr-xr-x[-rw-r--r--] | .travis/install_key.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.travis/install_key.sh b/.travis/install_key.sh index b035092..f2df1ab 100644..100755 --- a/.travis/install_key.sh +++ b/.travis/install_key.sh @@ -1,3 +1,11 @@ -openssl aes-256-cbc -K $encrypted_1477e58fe67a_key -iv $encrypted_1477e58fe67a_iv -in .travis/deploy.pem.enc -out .travis/deploy.pem -d +#!/bin/bash +export SSH_TEST_PRIVATE_KEY=$PWD/.travis/deploy.pem + +openssl aes-256-cbc \ + -K $encrypted_1477e58fe67a_key \ + -iv $encrypted_1477e58fe67a_iv \ + -in .travis/deploy.pem.enc \ + -out .travis/deploy.pem -d + chmod 600 .travis/deploy.pem -ssh-add .travis/deploy.pem + |