diff --git a/.travis-build.sh b/.travis-build.sh index 89f726409..3904a6344 100755 --- a/.travis-build.sh +++ b/.travis-build.sh @@ -39,6 +39,7 @@ if [ ! -z "$FORMATTING" ]; then space-test) echo "Testing for trailing and all sorts of broken white spaces" git reset -q "${first_commit}" + git add -N . git diff --check --color > space_test_result if [[ -s space_test_result ]]; then cat space_test_result