.gitlab-ci.yml 378 Bytes
Newer Older
David Haynes's avatar
David Haynes committed
1
image: npetrovsky/docker-android-sdk-ndk
Robert Hitt's avatar
Robert Hitt committed
2 3 4

variables:
  ANDROID_COMPILE_SDK: "25"
Robert Hitt's avatar
Robert Hitt committed
5
  ANDROID_BUILD_TOOLS: "26.0.2"
Jason Yeomans's avatar
Jason Yeomans committed
6
  ANDROID_SDK_TOOLS: "24.4.1"
Robert Hitt's avatar
Robert Hitt committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

before_script:
  - chmod +x ./gradlew

stages:
  - build
  - test

build:
  stage: build
  script:
    - ./gradlew assembleDebug
  artifacts:
    paths:
    - app/build/outputs/

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