Test on rust 1.0.0, nightly, and beta

This commit is contained in:
Alex Crichton 2015-05-16 21:31:42 -07:00
parent 109aec7d75
commit f0d5477a5f

View File

@ -1,5 +1,9 @@
language: rust
sudo: false
rust:
- 1.0.0
- beta
- nightly
script:
- cargo build --verbose
- cargo test --verbose
@ -8,6 +12,7 @@ script:
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_RUST_VERSION = nightly ] &&
echo '<meta http-equiv=refresh content=0;url=log/index.html>' > env/target/doc/index.html &&
pip install ghp-import --user $USER &&
$HOME/.local/bin/ghp-import -n env/target/doc &&