Create a gist now

Instantly share code, notes, and snippets.

image: chrisgunawardena/android-sdk-23-24:latest
variables:
ANDROID_COMPILE_SDK: "25"
ANDROID_BUILD_TOOLS: "24.0.0"
ANDROID_SDK_TOOLS: "23.0.3"
before_script:
- chmod +x ./gradlew
stages:
- build
- unit_tests
- deploy
job_build_debug_apk:
stage: build
except:
- development
variables:
CI_DEBUG_TRACE: "true"
script:
- ./gradlew assembleTstDebug --no-daemon --debug
cache:
untracked: true
artifacts:
paths:
- jumboclient/build/outputs/apk/
job_unit_tests:
stage: unit_tests
script:
- ./gradlew testTstDebug
job_fastlane_alpha:
stage: deploy
only:
- development
script:
- /usr/local/rvm/gems/ruby-2.0.0-p648/wrappers/fastlane alpha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment