CI updates
This commit is contained in:
parent
50218e27ab
commit
16acf7f753
@ -23,4 +23,4 @@ tasks:
|
|||||||
cargo build --all-features --verbose
|
cargo build --all-features --verbose
|
||||||
build2_exit=$?
|
build2_exit=$?
|
||||||
|
|
||||||
exit $(( $fmt_exit || $build1_exit || $build2_exit ))
|
exit $(( $build1_exit || $build2_exit ))
|
||||||
|
@ -16,16 +16,8 @@ before_script:
|
|||||||
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
|
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
fi
|
fi
|
||||||
- |
|
|
||||||
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
|
|
||||||
cargo install --force cargo-audit
|
|
||||||
fi
|
|
||||||
- cargo generate-lockfile
|
- cargo generate-lockfile
|
||||||
script:
|
script:
|
||||||
- |
|
|
||||||
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
|
|
||||||
cargo audit
|
|
||||||
fi
|
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
- |
|
- |
|
||||||
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
|
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user