From 1ff867c3c892f4981fd020462a36e79be663cc9e Mon Sep 17 00:00:00 2001 From: jake bolewski Date: Thu, 6 Nov 2014 00:35:26 -0500 Subject: [PATCH] make Travis fail if trailing ws is detected --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 1abd9c1b406cb..0e03213a86e60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,7 @@ before_install: make $BUILDOPTS -C contrib -f repackage_system_suitesparse4.make; fi script: + - ! git grep ' $' -- \*.jl \*.scm \*.c \*.cpp \*.h > /dev/null || { echo "trailing whitespace found in source file"; exit 1; } - make $BUILDOPTS prefix=/tmp/julia install - if [ `uname` = "Darwin" ]; then for name in spqr umfpack colamd cholmod amd suitesparse_wrapper; do