Remove outdated conditionals from .travis.yml

This commit is contained in:
Jonas Platte 2019-12-03 20:47:24 +01:00
parent c957998455
commit 9e097539e4
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -11,10 +11,7 @@ jobs:
before_script:
- rustup component add rustfmt
- |
if [ "$TRAVIS_RUST_VERSION" != "1.34.2" ]; then
rustup component add clippy
fi
- rustup component add clippy
- |
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
cargo install --force cargo-audit
@ -26,10 +23,7 @@ script:
cargo audit
fi
- cargo fmt -- --check
- |
if [ "$TRAVIS_RUST_VERSION" != "1.34.2" ]; then
cargo clippy --all-targets --all-features -- -D warnings
fi
- cargo clippy --all-targets --all-features -- -D warnings
- cargo build --verbose
- cargo test --verbose
if: "type != push OR (tag IS blank AND branch = master)"