From 08ccdd30e8bf0addc15454feab923804c58ba9a2 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Wed, 10 Jan 2018 19:00:52 +0100 Subject: add unit testing to CI --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3