1
0
mirror of https://github.com/bspeice/qadapt synced 2024-11-24 14:58:12 -05: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
commit a0f06ab30a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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