gitlab-ci: make blank/unused translate output clearer
This test now shows the actual blank/unused translations, so it should be a lot clearer why this test is failing. !519
This commit is contained in:
parent
0506fd4d79
commit
d688831cf5
@ -12,9 +12,11 @@ before_script:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
|
- export EXITVALUE=0
|
||||||
- ./tools/check-format-strings.py
|
- ./tools/check-format-strings.py
|
||||||
- ./tools/remove-unused-and-blank-translations.py
|
- ./tools/remove-unused-and-blank-translations.py
|
||||||
- git diff | grep diff && false # there should be no changes
|
- echo "These are unused or blank translations that should be removed:"
|
||||||
|
- git --no-pager diff --exit-code || export EXITVALUE=1
|
||||||
- ./gradlew assemble -PdisablePreDex
|
- ./gradlew assemble -PdisablePreDex
|
||||||
# always report on lint errors to the build log
|
# always report on lint errors to the build log
|
||||||
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
|
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
|
||||||
@ -26,8 +28,9 @@ test:
|
|||||||
echo "read $log here:";
|
echo "read $log here:";
|
||||||
cat "$log" | curl --silent -F 'clbin=<-' https://clbin.com;
|
cat "$log" | curl --silent -F 'clbin=<-' https://clbin.com;
|
||||||
done;
|
done;
|
||||||
exit 1;
|
export EXITVALUE=1;
|
||||||
}
|
}
|
||||||
|
- exit $EXITVALUE
|
||||||
|
|
||||||
connected10:
|
connected10:
|
||||||
variables:
|
variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user