Test on rust 1.0.0, nightly, and beta

This commit is contained in:
Alex Crichton 2015-05-16 21:32:40 -07:00
parent d228e58dbb
commit 1be18c12bd

View File

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