Travis: show commit range in tab checker

This commit is contained in:
Chris Wong 2017-03-07 21:46:02 +13:00
parent d8fa8b18fa
commit f8f0b0049f

View file

@ -9,7 +9,7 @@ before_script:
script:
- |
if [ -n "$TRAVIS_COMMIT_RANGE" ]; then
echo 'Checking for tabs'
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 )