Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
F-Droid
Client
Commits
6cb54e88
Commit
6cb54e88
authored
Jun 27, 2018
by
Hans-Christoph Steiner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-ci: name job using all key components: test_lint_pmd_checkstyle
parent
2e802fc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
No files found.
.gitlab-ci.yml
View file @
6cb54e88
...
@@ -30,7 +30,7 @@ before_script:
...
@@ -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:
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment