mirror of
https://gitee.com/openharmony/third_party_rust_cfg-if
synced 2025-02-17 05:27:30 +00:00
Switch to a deploy provider
This commit is contained in:
parent
15c0837b3b
commit
6137648bc8
12
.travis.yml
12
.travis.yml
@ -6,12 +6,16 @@ matrix:
|
||||
- rust: nightly
|
||||
- name: "master doc to gh-pages"
|
||||
rust: nightly
|
||||
if: branch = master
|
||||
script:
|
||||
- cargo doc --no-deps
|
||||
- curl -O https://raw.githubusercontent.com/alexcrichton/rust-travis-deploy/master/travis-deploy.rs
|
||||
- rustc travis-deploy.rs
|
||||
- (cd target/doc && ../../travis-deploy)
|
||||
deploy:
|
||||
provider: script
|
||||
script:
|
||||
- curl -O https://raw.githubusercontent.com/alexcrichton/rust-travis-deploy/master/travis-deploy.rs
|
||||
- rustc travis-deploy.rs
|
||||
- (cd target/doc && ../../travis-deploy)
|
||||
on:
|
||||
branch: master
|
||||
script:
|
||||
- cargo build --verbose
|
||||
- cargo test --verbose
|
||||
|
Loading…
x
Reference in New Issue
Block a user