Remove outdated conditionals from .travis.yml
This commit is contained in:
parent
c957998455
commit
9e097539e4
10
.travis.yml
10
.travis.yml
@ -11,10 +11,7 @@ jobs:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
- |
|
- rustup component add clippy
|
||||||
if [ "$TRAVIS_RUST_VERSION" != "1.34.2" ]; then
|
|
||||||
rustup component add clippy
|
|
||||||
fi
|
|
||||||
- |
|
- |
|
||||||
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
|
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
|
||||||
cargo install --force cargo-audit
|
cargo install --force cargo-audit
|
||||||
@ -26,10 +23,7 @@ script:
|
|||||||
cargo audit
|
cargo audit
|
||||||
fi
|
fi
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
- |
|
- cargo clippy --all-targets --all-features -- -D warnings
|
||||||
if [ "$TRAVIS_RUST_VERSION" != "1.34.2" ]; then
|
|
||||||
cargo clippy --all-targets --all-features -- -D warnings
|
|
||||||
fi
|
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
- cargo test --verbose
|
- cargo test --verbose
|
||||||
if: "type != push OR (tag IS blank AND branch = master)"
|
if: "type != push OR (tag IS blank AND branch = master)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user