1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-05-13 14:02:53 +00:00
hls_m3u8/.travis.yml

34 lines
580 B
YAML
Raw Normal View History

2018-02-14 07:45:16 +00:00
language: rust
2019-09-22 18:33:40 +00:00
cache: cargo
before_cache: |
cargo install cargo-tarpaulin
cargo install cargo-update
cargo install-update --all
# before_cache:
# - rm -rf /home/travis/.cargo/registry
2018-02-14 07:45:16 +00:00
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
2019-09-22 18:33:40 +00:00
script:
- cargo clean
- cargo build
- cargo test
2018-02-14 07:45:16 +00:00
after_success: |
2019-09-22 18:33:40 +00:00
# this does require a -Z flag for Doctests, which is unstable!
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
cargo tarpaulin --run-types Tests Doctests --out Xml
bash <(curl -s https://codecov.io/bash)
fi