Travis: remove tab check

We should be using a more comprehensive formatting check based on
rustfmt instead.
This commit is contained in:
Chris Wong 2017-07-29 20:13:20 +12:00
parent 7ac9c04f0e
commit 565360f2d5

View file

@ -7,11 +7,6 @@ before_script:
- export PATH=$HOME/.cargo/bin:$PATH - export PATH=$HOME/.cargo/bin:$PATH
script: script:
- |
if [ -n "$TRAVIS_COMMIT_RANGE" ]; then
printf 'Checking for tabs in %s\n' "$TRAVIS_COMMIT_RANGE"
! git diff --name-only --diff-filter=ACMR "$TRAVIS_COMMIT_RANGE" | xargs grep $'\t'
fi
- ( cd maud && cargo test --all-features ) - ( cd maud && cargo test --all-features )
- if command -v cargo-clippy > /dev/null; then ( cd maud && cargo clippy -- -D warnings ); fi - if command -v cargo-clippy > /dev/null; then ( cd maud && cargo clippy -- -D warnings ); fi
- ( cd maud_macros && cargo test --all-features ) - ( cd maud_macros && cargo test --all-features )