CI: Make trailing whitespace into a Travis error.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user