Try out a new travis config
This commit is contained in:
parent
6713224564
commit
321afe6205
|
@ -1,4 +1,7 @@
|
||||||
language: rust
|
language: rust
|
||||||
|
rust:
|
||||||
|
- 1.0.0
|
||||||
|
- nightly
|
||||||
sudo: false
|
sudo: false
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
|
@ -10,6 +13,7 @@ script:
|
||||||
after_success: |
|
after_success: |
|
||||||
[ $TRAVIS_BRANCH = master ] &&
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
|
[ $TRAVIS_RUST_VERSION = nightly ] &&
|
||||||
echo '<meta http-equiv=refresh content=0;url=toml/index.html>' > target/doc/index.html &&
|
echo '<meta http-equiv=refresh content=0;url=toml/index.html>' > target/doc/index.html &&
|
||||||
pip install ghp-import --user $USER &&
|
pip install ghp-import --user $USER &&
|
||||||
$HOME/.local/bin/ghp-import -n target/doc &&
|
$HOME/.local/bin/ghp-import -n target/doc &&
|
||||||
|
|
Loading…
Reference in a new issue