Disable rustfmt for the time being

pull/2/head
Bradlee Speice 2018-12-08 23:09:58 -05:00
parent d2627e07f5
commit d4cbf607f2
1 changed files with 4 additions and 10 deletions

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