travis: Move i18n and capitalization linters to frontend.

Since these usually result from changes to HTML templates and other
frontend-side things, it seems better to group them with the frontend.

[Tweaked by gnprice in whitespace and comments.]
This commit is contained in:
Tim Abbott
2017-08-27 13:42:54 -07:00
committed by Greg Price
parent 6ef55145f5
commit b087886d1c
3 changed files with 12 additions and 7 deletions

View File

@@ -36,9 +36,6 @@ run ./tools/clean-repo
# travis/backend
run ./tools/lint $FORCEARG
run ./manage.py makemessages --locale en
run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
run ./tools/test-tools
run ./tools/test-backend $FORCEARG
run ./tools/run-mypy
@@ -56,6 +53,9 @@ run ./tools/test-api
# travis/frontend
run ./tools/test-js-with-node
run ./manage.py makemessages --locale en
run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
run ./tools/test-js-with-casper $FORCEARG
printf '\n\e[32mAll OK!\e[0m\n'