1
0
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:
Bradlee Speice 2018-12-08 23:09:58 -05:00
parent d2627e07f5
commit d4cbf607f2

View File

@ -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