Skip to content

Commit

Permalink
fix/ci: skip rustfmt on Windows
Browse files Browse the repository at this point in the history
We hit the rustfmt bug: rust-lang/rustfmt#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.
  • Loading branch information
povilasb committed Nov 27, 2018
1 parent 4506512 commit e5ee849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
)
Expand Down

0 comments on commit e5ee849

Please sign in to comment.