aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-04-21 14:26:27 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-04-21 14:26:27 +0200
commit63bbba6804c1ee5f52897aaedb8e58574b056bb9 (patch)
tree16463dda910015bceea3cfb81f16424d3d370054 /.travis
parentfa9dd838ee89eaff543cdd81e7c97c842f982538 (diff)
downloadgo-git-63bbba6804c1ee5f52897aaedb8e58574b056bb9.tar.gz
transport: ssh, travis tests
Diffstat (limited to '.travis')
-rwxr-xr-x[-rw-r--r--].travis/install_key.sh12
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
+