mirror of https://github.com/dswd/zvault
Added travis config
This commit is contained in:
parent
7303da43b3
commit
fd4798b35c
|
@ -0,0 +1,24 @@
|
||||||
|
language: rust
|
||||||
|
dist: trusty
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libssl-dev
|
||||||
|
cache: cargo
|
||||||
|
rust:
|
||||||
|
- stable
|
||||||
|
- beta
|
||||||
|
- nightly
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- rust: nightly
|
||||||
|
script:
|
||||||
|
- cargo clean
|
||||||
|
- cargo build
|
||||||
|
- cargo test
|
||||||
|
|
||||||
|
after_success: |
|
||||||
|
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
|
||||||
|
cargo install cargo-tarpaulin
|
||||||
|
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
|
||||||
|
fi
|
Loading…
Reference in New Issue