Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AndroidUtils
NavigationDrawerActivity
Commits
ea011027
Commit
ea011027
authored
Sep 15, 2020
by
Daniel Wolf
Browse files
Merge CI steps
parent
0689de8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ea011027
...
...
@@ -3,23 +3,11 @@ image: thyrlian/android-sdk
before_script
:
-
chmod +x gradlew
test
:
test
-build-deploy
:
stage
:
test
script
:
-
./gradlew clean assembleRelease
test --stacktrace || (find . -type d -wholename "**reports/tests" -exec zip -ru tests.zip {} \; && exit 1)
-
find . -type d -wholename "**reports/tests" -exec zip -ru tests.zip {} \;
-
./gradlew clean assembleRelease
sourcesJar javadocJar test --stacktrace
-
./gradlew publish --stacktrace
except
:
-
/^no_ci.*$/
-
/^no_tests.*$/
artifacts
:
when
:
always
paths
:
-
tests.zip
deploy
:
stage
:
deploy
script
:
-
./gradlew clean assembleRelease sourcesJar javadocJar
-
./gradlew publish --stacktrace
only
:
-
/^deploy.*$/
\ No newline at end of file
-
/^no_tests.*$/
\ No newline at end of file
Write
Preview
Supports
Markdown
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