-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.gitlab-ci.yml
45 lines (37 loc) · 918 Bytes
/
.gitlab-ci.yml
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
38
39
40
41
42
43
44
45
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
assembleDebug:
stage: build
script:
# ANDROID_SDK_ROOT is already set in the android-sdk-ndk container image.
- pushd libraries/humla/libs/humla-spongycastle
- ../../gradlew jar
- popd
- ./gradlew assembleDebug
artifacts:
paths:
- app/build/outputs/apk/
expire_in: 3 months
# debugTests:
# stage: test
# script:
# - ./gradlew -Pci --console=plain :app:testDebugUnitTest
# coverageTests:
# stage: test
# script:
# - ./gradlew -Pci --console=plain jacocoTestReport coveralls