image: jangrewe/gitlab-ci-android
before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew stages: - build - test build: stage: build script: - ./gradlew assembleDebug artifacts: paths:
- app/build/outputs/apk/app-debug.apk
unitTests: stage: test script:
- ./gradlew test