summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-05-15 11:58:00 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-05-15 11:58:00 -0700
commit3f72168d34c62dbf7b5a42d02d706b89190d13a2 (patch)
tree88d9bcbd6dec64a719188b8411d525109757c7b6 /.travis.yml
parent86bb3bc974f75b8b0bac3926a8397c9131ea7a30 (diff)
downloadssh2-rs-3f72168d34c62dbf7b5a42d02d706b89190d13a2.zip
Test on many rust versions
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 8aab19c..2c522d4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,8 @@
language: rust
+rust:
+ - 1.0.0
+ - beta
+ - nightly
sudo: false
before_script:
- ssh-keygen -t rsa -f ~/.ssh/id_rsa -N "" -q
@@ -14,6 +18,7 @@ script:
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
+ [ $TRAVIS_RUST_VERSION = nightly ] &&
echo '<meta http-equiv=refresh content=0;url=ssh2/index.html>' > target/doc/index.html &&
pip install ghp-import --user $USER &&
$HOME/.local/bin/ghp-import -n target/doc &&