mirror of
https://gitee.com/openharmony/third_party_rust_bitflags
synced 2024-11-30 02:41:12 +00:00
Test on rust 1.0.0, nightly, and beta
This commit is contained in:
parent
d228e58dbb
commit
1be18c12bd
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user