Try out a new travis config
This commit is contained in:
parent
6713224564
commit
321afe6205
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue