Skip to content
Browse files

Start ssh-agent

  • Loading branch information...
1 parent b102ffc commit 3560ddc9eac300bf9a88924e8c2caad5be07bfd5 @adriaanm adriaanm committed Mar 27, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 .travis.yml
View
3 .travis.yml
@@ -15,7 +15,8 @@ env:
# the key is restricted using forced commands so that it can only upload to the directory we need here
after_success:
- openssl aes-256-cbc -pass "pass:$PRIV_KEY_SECRET" -in spec/id_dsa_travis.enc -out spec/id_dsa_travis -d -a
- - ssh-add -D
- chmod 600 spec/id_dsa_travis
+ - eval "$(ssh-agent)"
+ - ssh-add -D
- ssh-add spec/id_dsa_travis
- rsync -e 'ssh -o StrictHostKeyChecking=no' -rzv build/spec/ scalatest@chara.epfl.ch:/home/linuxsoft/archives/scala/spec/2.11/

0 comments on commit 3560ddc

Please sign in to comment.
Something went wrong with that request. Please try again.