fedilab-Android-App/.gitlab-ci.yml

26 lines
534 B
YAML
Raw Normal View History

2018-11-24 15:56:54 +01:00
image: hatsoftwares/mastalab-ci:latest
before_script:
- export ANDROID_HOME=/opt/android-sdk-linux
- export PATH=$PATH:/opt/android-sdk-linux/platform-tools/
- chmod +x gradlew
stages:
2018-11-25 13:34:53 +01:00
- build-and-test
2018-11-24 15:56:54 +01:00
- test
assembleDebug:
2018-11-25 13:34:53 +01:00
stage: build-and-test
2018-11-24 15:56:54 +01:00
script:
- ./gradlew assembleDebug
lintDebug:
2018-11-25 13:34:53 +01:00
stage: build-and-test
2018-11-24 15:56:54 +01:00
script:
- ./gradlew -Pci --console=plain :app:lintFdroidDebug -PbuildDir=lint
2018-11-24 15:56:54 +01:00
debugTests:
2018-11-25 13:34:53 +01:00
stage: build-and-test
2018-11-24 15:56:54 +01:00
script:
- ./gradlew -Pci --console=plain :app:testFdroidDebugUnitTest