Browse Source

Start an ssh-agent in travis

Josh Stone 9 năm trước cách đây
mục cha
commit
327ef3bc92
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

@@ -23,6 +23,7 @@ after_success: |
   [ $TRAVIS_RUST_VERSION = nightly ] &&
   [ $TRAVIS_RUST_VERSION = nightly ] &&
   openssl aes-256-cbc -K $encrypted_9e86330b283d_key -iv $encrypted_9e86330b283d_iv -in .travis/deploy.enc -out .travis/deploy -d &&
   openssl aes-256-cbc -K $encrypted_9e86330b283d_key -iv $encrypted_9e86330b283d_iv -in .travis/deploy.enc -out .travis/deploy -d &&
   chmod 600 .travis/deploy &&
   chmod 600 .travis/deploy &&
+  eval "$(ssh-agent -s)" &&
   ssh-add .travis/deploy &&
   ssh-add .travis/deploy &&
   pip install ghp-import --user $USER &&
   pip install ghp-import --user $USER &&
   cp doc/index.html target/doc/ &&
   cp doc/index.html target/doc/ &&