davx5-ose/.gitlab-ci.yml

38 lines
791 B
YAML
Raw Normal View History

image: registry.gitlab.com/bitfireat/docker-android-emulator:latest
2016-10-10 18:18:05 +00:00
2021-08-31 12:24:03 +00:00
variables:
GIT_SUBMODULE_STRATEGY: recursive
2016-10-10 18:18:05 +00:00
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle; chmod +x gradlew
2016-10-10 18:18:05 +00:00
cache:
paths:
2017-06-20 22:01:08 +00:00
- .gradle/
2016-10-10 18:18:05 +00:00
test:
2021-08-26 13:58:44 +00:00
stage: test
2019-11-09 18:52:18 +00:00
tags:
- privileged
2021-08-26 13:58:44 +00:00
before_script:
2021-04-13 18:06:48 +00:00
- curl -d "email=gitlab%40bitfire.at&password=$DAVTEST_TOKEN&action=Request+access" -X POST "https://davtest.dev001.net/access/"
2021-08-26 13:58:44 +00:00
script:
- start-emulator.sh
2019-03-23 21:54:53 +00:00
- ./gradlew app:check app:connectedCheck
2016-10-10 18:18:05 +00:00
artifacts:
paths:
- app/build/outputs/lint-results-debug.html
- app/build/reports
- build/reports
2017-11-11 19:49:20 +00:00
pages:
2021-08-26 13:58:44 +00:00
stage: deploy
2017-11-11 19:49:20 +00:00
script:
- ./gradlew app:dokka
- mkdir public && mv app/build/dokka public
artifacts:
paths:
- public
only:
- master-ose