mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
@@ -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'
|
||||
|
Reference in New Issue
Block a user