From fe346609e8099c1845f65d5ae68d5e8bf9daf9c3 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 17 Nov 2017 03:37:37 +0000 Subject: [PATCH] Check for trailing whitespace in Travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index ef11ea1a0..1a66580a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,7 @@ env: - BUILD_SHARED_LIBS=ON - BUILD_SHARED_LIBS=OFF script: + - if grep -Inr '\s$' src include docs deps tests examples CMake *.md .gitattributes .gitignore .github; then echo Trailing whitespace found, aborting.; exit 1; fi - mkdir build - cd build - cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} ..