From e5ee849d8c99370473ec04baa10144f7a0a2603d Mon Sep 17 00:00:00 2001 From: Povilas Balciunas Date: Tue, 27 Nov 2018 15:36:49 +0200 Subject: [PATCH] fix/ci: skip rustfmt on Windows We hit the rustfmt bug: https://github.com/rust-lang/rustfmt/issues/1873 . Currently, rustfmt fails to format when path attribute has relitive paths. Usually, our code does not have too much windows specific code and in this case there's no such code at the moment. So, it's the easiest fix is to disable rustfmt on Windows for now hoping for the fix in the future. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 76aecc2..3529a8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,11 +32,11 @@ before_script: fi script: - set -x; - cargo fmt -- --check && cargo test --verbose --release - if [ "${TRAVIS_OS_NAME}" = linux ]; then ( set -x; + cargo fmt -- --check && cargo clippy --verbose --release && cargo clippy --verbose --release --profile=test ; )