gitlab-ci: name job using all key components: test_lint_pmd_checkstyle

This commit is contained in:
Hans-Christoph Steiner 2018-06-27 10:34:04 +02:00
parent 2e802fc6e4
commit 6cb54e8821

View File

@ -30,7 +30,7 @@ before_script:
# Run the most important first. Then we can decide whether to ignore # Run the most important first. Then we can decide whether to ignore
# the style tests if the rest of the more meaningful tests pass. # the style tests if the rest of the more meaningful tests pass.
test: test_lint_pmd_checkstyle:
<<: *test-template <<: *test-template
script: script:
- export EXITVALUE=0 - export EXITVALUE=0
@ -41,8 +41,8 @@ test:
- ./gradlew lint - ./gradlew lint
- ./gradlew pmd || export EXITVALUE=1 - ./gradlew pmd || export EXITVALUE=1
- ./gradlew checkstyle || export EXITVALUE=1 - ./gradlew checkstyle || export EXITVALUE=1
- ./tools/check-format-strings.py - ./tools/check-format-strings.py || export EXITVALUE=1
- ./tools/remove-unused-and-blank-translations.py - ./tools/remove-unused-and-blank-translations.py || export EXITVALUE=1
- echo "These are unused or blank translations that should be removed:" - echo "These are unused or blank translations that should be removed:"
- git --no-pager diff --ignore-all-space --name-only --exit-code app/src/*/res/values*/strings.xml || export EXITVALUE=1 - git --no-pager diff --ignore-all-space --name-only --exit-code app/src/*/res/values*/strings.xml || export EXITVALUE=1
- exit $EXITVALUE - exit $EXITVALUE