mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-09-27 14:10:05 +00:00
fixed travis?
This commit is contained in:
parent
c0db47b717
commit
c9493ea8e5
2 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue