1
0
mirror of https://github.com/bspeice/qadapt synced 2025-07-01 13:56:14 -04:00

Merge pull request #2 from bspeice/travis_fix

Fix the Travis build
This commit is contained in:
bspeice
2018-12-09 04:34:16 +00:00
committed by GitHub

View File

@ -40,14 +40,12 @@ before_install:
install:
- source ~/.cargo/env || true
# Disabling for the time being: rust-lang/rustup.rs#1558
# - rustup component add rustfmt
script:
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
rustup component add rustfmt-preview
else
rustup component add rustfmt
fi
- 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