language: rust
cache: cargo
rust:
- nightly
- beta
- 1.10.0
before_script:
- ssh-keygen -t rsa -b 2048 -N "" -f ~/.ssh/id_rsa
- cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
- ssh -oStrictHostKeyChecking=no -Nf -D 127.0.0.1:8080 localhost
script:
- cargo test

language: rust
cache: cargo
rust:
- nightly
- 1.13.0
before_script:
- ssh-keygen -t rsa -b 2048 -N "" -f ~/.ssh/id_rsa
- cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
- ssh -oStrictHostKeyChecking=no -Nf -D 127.0.0.1:8080 localhost
script:
- cargo test
after_script:
- killall sshd

Test on 1.13 and kill sshd after tests
Test on 1.13 and kill sshd after tests
