summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-11 19:19:34 +0200
committercyBerta <cyberta@riseup.net>2019-10-11 19:19:34 +0200
commit4936d3033d35bf1451d67b83f5959efb878d6741 (patch)
treeb73d5b19138dccefd604a3c82cdf3f9e36c6d523 /.gitlab-ci.yml
parent896a1ae341a1bfb9b03861918470483607ea0f51 (diff)
keep error reports for 3 days if tests fail on CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e22df8c..c044c673 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,6 +55,11 @@ unit_test:
stage: test
script:
- ./gradlew test
+ artifacts:
+ paths:
+ - app/build/reports/tests
+ when: on_failure
+ expire_in: 3 days
#ui_test:
# image: "0xacab.org:4567/leap/bitmask_android/android-emulator:latest"