.gitlab-ci.yml 329 Bytes
Newer Older
1
image: jangrewe/gitlab-ci-android
Robert Hitt's avatar
Robert Hitt committed
2 3

before_script:
4
  - export GRADLE_USER_HOME=$(pwd)/.gradle
Robert Hitt's avatar
Robert Hitt committed
5 6 7 8 9 10 11 12 13 14 15 16
  - chmod +x ./gradlew

stages:
  - build
  - test

build:
  stage: build
  script:
    - ./gradlew assembleDebug
  artifacts:
    paths:
17
    - app/build/outputs/apk/app-debug.apk
Robert Hitt's avatar
Robert Hitt committed
18 19 20 21

unitTests:
  stage: test
  script:
David Haynes's avatar
David Haynes committed
22
    - ./gradlew test