mirror of
https://gitee.com/openharmony/third_party_rust_log
synced 2024-11-24 00:00:06 +00:00
26 lines
861 B
YAML
26 lines
861 B
YAML
language: rust
|
|
sudo: false
|
|
rust:
|
|
- 1.0.0
|
|
- beta
|
|
- nightly
|
|
script:
|
|
- cargo build --verbose
|
|
- cargo test --verbose
|
|
- cargo test --verbose --manifest-path env/Cargo.toml
|
|
- cargo doc --manifest-path env/Cargo.toml
|
|
after_success: |
|
|
[ $TRAVIS_BRANCH = master ] &&
|
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
|
[ $TRAVIS_RUST_VERSION = nightly ] &&
|
|
echo '<meta http-equiv=refresh content=0;url=log/index.html>' > env/target/doc/index.html &&
|
|
pip install ghp-import --user $USER &&
|
|
$HOME/.local/bin/ghp-import -n env/target/doc &&
|
|
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
|
env:
|
|
global:
|
|
secure: bNUxFmA5uEdKKdVDtgb+5WQuMRDZ6QxK5152sIZWSimxyr/x5erNZ1uacPh02Ng92dbUQ66wz90WPmqTwoL0EeJ/FmZDd29hRHXe82MNpz47QX3cGMgFNldQ2GmJmCHBXKu373B80o/ZB+BTVcYcl1ksTXuIhQg2wZtXh8bZ9F4=
|
|
notifications:
|
|
email:
|
|
on_success: never
|