mirror of
https://github.com/bspeice/qadapt
synced 2024-11-24 23:08:11 -05:00
commit
a0f06ab30a
10
.travis.yml
10
.travis.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user