blob: d5a684560f66cab1b8b4ff3cf7dd136639c31afb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
image: docker.io/quite/android-sdk-ndk:7
variables:
# get those pesky submodules
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew
cache:
key: ${CI_PROJECT_ID}
paths:
- .gradle/
stages:
- build
# lintDebug:
# stage: build
# script:
# - ./gradlew -Pci --console=plain -PbuildDir=lint :app:lintDebug
testDebug:
stage: build
script:
# ANDROID_SDK_ROOT is already set in the android-sdk-ndk container image.
- pushd libs/humla-spongycastle
- ../../gradlew jar
- popd
- ./gradlew -Pci --console=plain testDebug
# coverageTests:
# stage: test
# script:
# - ./gradlew -Pci --console=plain jacocoTestReport coveralls
|