Setup travis to generate, authorize and load SSH key

This commit is contained in:
Thibault Jouan 2015-04-05 11:59:33 +00:00
parent fc997bee0b
commit d7741b5e5c

View File

@ -6,3 +6,9 @@ rvm:
- ruby-head
- 2.1
script: bundle exec rake ci
before_script:
- ssh-keygen -f ~/.ssh/id_rsa -t rsa -N ''
- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
- chmod 600 ~/.ssh/authorized_keys
- eval `ssh-agent -s`
- ssh-add ~/.ssh/id_rsa