summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-12-02 08:40:46 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-12-02 09:00:22 -0800
commita5cfbc267b31f0511818fbed96951fd960d3308f (patch)
treed00ab02b224ba67ee5bc6a631ffd3679153faa5d /.travis.yml
parentdefaa72be89e337787154966911ee7c630fd974d (diff)
downloadssh2-rs-a5cfbc267b31f0511818fbed96951fd960d3308f.zip
More travis tweaks
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