diff --git a/.travis.yml b/.travis.yml index 359486ebb6147..4c925c0238cad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,6 +42,12 @@ before_install: script: - if git --no-pager grep --color -n --full-name ' $' -- \*.jl \*.scm \*.c \*.cpp \*.h; then echo "Error trailing whitespace found in source file(s)"; + echo ""; + echo "This can often be fixed with:"; + echo " git rebase --whitespace=fix HEAD~1"; + echo "or"; + echo " git rebase --whitespace=fix master"; + echo "and then a forced push of the correct branch"; exit 1; fi - make $BUILDOPTS prefix=/tmp/julia install