gitlab-ci: fail if translation strings need corrections

Since we have all these lovely scripts for cleaning up the
translations, gitlab-ci is a handy way to enforce that they get used.
Since weblate merges happen via merge requests, this will work nicely
now.  I can't think of any false positives that will arise, but we
shall find out!
parent 2ef9b279
......@@ -13,6 +13,8 @@ before_script:
test:
script:
- ./tools/check-format-strings.py
- ./tools/remove-unused-and-blank-translations.py
- git diff | grep diff && false # there should be no changes
- ./gradlew assemble -PdisablePreDex
# always report on lint errors to the build log
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment