From 020f8a2047cf2c39c7a83538839169ca806b0750 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 20 Dec 2017 08:51:57 +0530 Subject: [PATCH] Add trailing space test to travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 3f5fd5b52..1d51bd75e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,6 +123,7 @@ before_script: - $PYTHON setup.py build --debug --verbose $SANITIZE_ARG; script: + - if grep -Inr '\s$' kitty kitty_tests *.py *.asciidoc .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi - if [[ -z $SANITIZE_ARG ]]; then $PYTHON test.py; else ./asan-launcher test.py; fi - if [[ "$RUN_FLAKE" == "1" ]]; then flake8 --count .; fi - if [[ "$BUILD_PKG" == "1" ]]; then $PYTHON setup.py linux-package; fi