summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 449c407..a82e298 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
language: rust
-sudo: false
+sudo: required
matrix:
include:
@@ -26,7 +26,10 @@ before_script:
- eval `ssh-agent -s`
- ssh-add ~/.ssh/id_rsa
- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
- - telnet localhost 22 &
+ - echo "Host localhost" >> ~/.ssh/config
+ - echo " StrictHostKeyChecking no" >> ~/.ssh/config
+ - chmod 600 ~/.ssh/authorized_keys
+ - ssh -v localhost echo hello
script:
- cargo build