mirror of
https://gitee.com/openharmony/third_party_rust_env_logger
synced 2024-11-23 07:10:29 +00:00
Add travis config and minor tweaks to gitignore
This commit is contained in:
parent
031fd5fe4e
commit
fdc5c5976b
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
||||
target/
|
||||
Cargo.lock
|
||||
.emacs*
|
||||
*~
|
||||
|
19
.travis.yml
Normal file
19
.travis.yml
Normal file
@ -0,0 +1,19 @@
|
||||
language: rust
|
||||
sudo: false
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
before_script:
|
||||
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
|
||||
script:
|
||||
- cargo build --verbose
|
||||
- cargo build --verbose --no-default-features
|
||||
- cargo test --verbose
|
||||
- cargo test --verbose --no-default-features
|
||||
after_success:
|
||||
- travis-cargo --only nightly doc-upload
|
||||
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
Loading…
Reference in New Issue
Block a user