Try out a new travis config

This commit is contained in:
Alex Crichton 2015-05-15 11:50:24 -07:00
parent 6713224564
commit 321afe6205

View file

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