summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-01-10 19:00:52 +0100
committercyBerta <cyberta@riseup.net>2018-01-10 19:00:52 +0100
commit08ccdd30e8bf0addc15454feab923804c58ba9a2 (patch)
treee026be2801bbb8186bc667399efe2dc4e1abdeaa
parentae8341cf1f563fbcf2bdd6a4eff9525f42e9e995 (diff)
add unit testing to CI
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4db92eb7..0edd09a9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ stages:
- docker_image_sdk
- docker_image_other
- build
+ - test
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
@@ -50,6 +51,12 @@ docker_image:emulator:
DOCKER_IMAGE: android-emulator
<<: *build_docker_image
+unit_test:
+ image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
+ stage: test
+ script:
+ - ./gradlew test
+
build:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build