CI: Make trailing whitespace into a Travis error.

This commit is contained in:
Elliott Sales de Andrade
2016-05-18 20:31:01 -04:00
parent 28b722b92d
commit ea4a4cd464

View File

@ -47,6 +47,10 @@ script:
# --exclude=TestUser because of older version of mock
# without configure_mock
- PYTHONPATH=meta GRAMPS_RESOURCES=. nosetests3 --nologcapture --with-coverage --cover-package=gramps --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test --exclude=user_test gramps
- if git --no-pager grep --color -n --full-name '[ ]$' -- \*.py; then
echo "ERROR - Trailing whitespace found in source file(s)";
exit 1;
fi
after_success:
- codecov