mirror of
https://github.com/bspeice/qadapt
synced 2024-11-24 23:08:11 -05:00
Disable rustfmt for the time being
This commit is contained in:
parent
d2627e07f5
commit
d4cbf607f2
14
.travis.yml
14
.travis.yml
@ -40,18 +40,12 @@ before_install:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- source ~/.cargo/env || true
|
- source ~/.cargo/env || true
|
||||||
- |
|
# Disabling for the time being: rust-lang/rustup.rs#1558
|
||||||
echo "TRAVIS_RUST_VERSION=\"$TRAVIS_RUST_VERSION\""
|
# - rustup component add rustfmt
|
||||||
if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
|
|
||||||
echo "Installing preview"
|
|
||||||
rustup component add "rustfmt-preview"
|
|
||||||
else
|
|
||||||
echo "Installing standard"
|
|
||||||
rustup component add rustfmt
|
|
||||||
fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo fmt --all -- --check
|
# Disabling for the time being: rust-lang/rustup.rs#1558
|
||||||
|
# - cargo fmt --all -- --check
|
||||||
- |
|
- |
|
||||||
if [ -z "$TRAVIS_TAG" ]; then
|
if [ -z "$TRAVIS_TAG" ]; then
|
||||||
cargo test
|
cargo test
|
||||||
|
Loading…
Reference in New Issue
Block a user