瀏覽代碼

Start an ssh-agent in travis

Josh Stone 9 年之前
父節點
當前提交
327ef3bc92
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

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