Skip to content

Commit 32fb1a7

Browse files
max-sixtyjturner314
authored andcommitted
Don't check rustfmt on nightly in CI (#676)
1 parent 483200b commit 32fb1a7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,5 @@ addons:
2727
packages:
2828
- libopenblas-dev
2929
- gfortran
30-
before_script:
31-
- rustup component add rustfmt
3230
script:
33-
- |
34-
cargo fmt --all -- --check &&
35-
./scripts/all-tests.sh "$FEATURES" "$CHANNEL"
31+
- ./scripts/all-tests.sh "$FEATURES" "$CHANNEL"

scripts/all-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -e
66
FEATURES=$1
77
CHANNEL=$2
88

9+
([ "$CHANNEL" != "beta" ] || (rustup component add rustfmt && cargo fmt --all -- --check))
910
cargo build --verbose --no-default-features
1011
cargo test --verbose --no-default-features
1112
cargo test --release --verbose --no-default-features

0 commit comments

Comments
 (0)