1
0
mirror of https://github.com/bspeice/qadapt synced 2024-11-14 01:58:10 -05:00

Disable rustfmt for the time being

This commit is contained in:
Bradlee Speice 2018-12-08 23:09:58 -05:00
parent d2627e07f5
commit d4cbf607f2

View File

@ -40,18 +40,12 @@ before_install:
install:
- source ~/.cargo/env || true
- |
echo "TRAVIS_RUST_VERSION=\"$TRAVIS_RUST_VERSION\""
if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
echo "Installing preview"
rustup component add "rustfmt-preview"
else
echo "Installing standard"
rustup component add rustfmt
fi
# Disabling for the time being: rust-lang/rustup.rs#1558
# - rustup component add rustfmt
script:
- cargo fmt --all -- --check
# Disabling for the time being: rust-lang/rustup.rs#1558
# - cargo fmt --all -- --check
- |
if [ -z "$TRAVIS_TAG" ]; then
cargo test