1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-06-17 20:30:33 +00:00

fixed travis?

This commit is contained in:
Luro02 2019-09-28 14:47:16 +02:00
parent c0db47b717
commit c9493ea8e5
2 changed files with 6 additions and 7 deletions

View file

@ -3,14 +3,13 @@ language: rust
cache: cargo
before_cache: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
cargo install cargo-tarpaulin
cargo install cargo-update
cargo install-update --all
fi
before_cache:
- rm -rf /home/travis/.cargo/registry
# before_cache:
# - rm -rf /home/travis/.cargo/registry
rust:
@ -29,6 +28,6 @@ script:
after_success: |
# this does require a -Z flag for Doctests, which is unstable!
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
cargo tarpaulin --out Xml --run-types Tests Doctests
cargo tarpaulin --run-types Tests Doctests --out Xml
bash <(curl -s https://codecov.io/bash)
fi

View file

@ -1251,11 +1251,11 @@ mod test {
LANGUAGE=\"sp\",\
NAME=\"CC2\",\
AUTOSELECT=YES,\
INSTREAM-ID=\"CC2\""
INSTREAM-ID=\"CC2\",\
UNKNOWN=TAG"
.parse()
.unwrap()
);
// ----
assert_eq!(
ExtXMedia::new(MediaType::Audio, "foo", "bar"),