fix nighly and beta on CI are failing
we always use stable rustfmt so checking with nighly/beta rustfmt is not necessary.
This commit is contained in:
parent
413dd66886
commit
106efe58ce
|
@ -18,7 +18,10 @@ before_script:
|
||||||
script:
|
script:
|
||||||
- cargo build --all --locked --verbose
|
- cargo build --all --locked --verbose
|
||||||
- cargo test --all --locked --verbose
|
- cargo test --all --locked --verbose
|
||||||
- cargo fmt --all -- --check
|
- |
|
||||||
|
if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then
|
||||||
|
cargo fmt --all -- --check
|
||||||
|
fi
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
|
|
@ -128,4 +128,3 @@ build: false
|
||||||
# environment variable.
|
# environment variable.
|
||||||
test_script:
|
test_script:
|
||||||
- cargo test --verbose %cargoflags%
|
- cargo test --verbose %cargoflags%
|
||||||
- cargo fmt --all -- --check
|
|
||||||
|
|
Loading…
Reference in New Issue