.gitlab-ci.yml 438 Bytes
Newer Older
Ricki Hirner's avatar
Ricki Hirner committed
1 2 3
image: registry.gitlab.com/bitfireat/davdroid:latest

before_script:
Ricki Hirner's avatar
Ricki Hirner committed
4
  - export GRADLE_USER_HOME=`pwd`/.gradle; chmod +x gradlew
Ricki Hirner's avatar
Ricki Hirner committed
5 6 7

cache:
  paths:
Ricki Hirner's avatar
Ricki Hirner committed
8
     - .gradle/
Ricki Hirner's avatar
Ricki Hirner committed
9 10 11

test:
  script:
12
    - ./gradlew check
Ricki Hirner's avatar
Ricki Hirner committed
13 14 15 16
  artifacts:
    paths:
      - build/outputs/lint-results-debug.html
      - build/reports/
Ricki Hirner's avatar
Ricki Hirner committed
17 18 19 20 21 22 23 24 25 26

pages:
  script:
    - ./gradlew dokka
    - mkdir public && mv build/dokka public
  artifacts:
    paths:
      - public
  only:
    - master