Setup travis to generate, authorize and load SSH key
This commit is contained in:
parent
fc997bee0b
commit
d7741b5e5c
@ -6,3 +6,9 @@ rvm:
|
|||||||
- ruby-head
|
- ruby-head
|
||||||
- 2.1
|
- 2.1
|
||||||
script: bundle exec rake ci
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user