Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update CI to assume github actions
- Loading branch information
Markus Westerlind
committed
Aug 8, 2022
1 parent
6de4b29
commit e562c2f
Showing
4 changed files
with
22 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,18 @@ | ||
#!/bin/bash -x | ||
set -ex | ||
|
||
if [[ "$TRAVIS_RUST_VERSION" == "1.40.0" ]]; then | ||
cargo "$@" check | ||
cargo "$@" check --no-default-features | ||
else | ||
cargo "$@" build | ||
cargo "$@" test --all-features | ||
cargo "$@" test --all-features --examples | ||
cargo "$@" build | ||
cargo "$@" test --all-features | ||
cargo "$@" test --all-features --examples | ||
|
||
cargo "$@" test --bench json --bench http -- --test | ||
cargo "$@" check --bench mp4 --features mp4 | ||
|
||
cargo "$@" build --no-default-features --features alloc | ||
cargo "$@" test --no-default-features --features alloc --examples | ||
cargo "$@" test --bench json --bench http -- --test | ||
cargo "$@" check --bench mp4 --features mp4 | ||
|
||
cargo "$@" build --no-default-features | ||
cargo "$@" test --no-default-features --examples | ||
cargo "$@" build --no-default-features --features alloc | ||
cargo "$@" test --no-default-features --features alloc --examples | ||
|
||
cargo "$@" check --no-default-features --features tokio-02 | ||
cargo "$@" check --no-default-features --features tokio-03 | ||
fi | ||
cargo "$@" build --no-default-features | ||
cargo "$@" test --no-default-features --examples | ||
|
||
if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then | ||
cargo doc | ||
fi | ||
cargo "$@" check --no-default-features --features tokio-02 | ||
cargo "$@" check --no-default-features --features tokio-03 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters