CI updates

This commit is contained in:
Jonas Platte 2020-04-24 18:43:49 +02:00
parent 50218e27ab
commit 16acf7f753
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 1 additions and 9 deletions

View File

@ -23,4 +23,4 @@ tasks:
cargo build --all-features --verbose
build2_exit=$?
exit $(( $fmt_exit || $build1_exit || $build2_exit ))
exit $(( $build1_exit || $build2_exit ))

View File

@ -16,16 +16,8 @@ before_script:
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
rustup component add clippy
fi
- |
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
cargo install --force cargo-audit
fi
- cargo generate-lockfile
script:
- |
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
cargo audit
fi
- cargo fmt -- --check
- |
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then