Skip to content

Instantly share code, notes, and snippets.

@chris-gunawardena
Last active June 14, 2018 13:38
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-gunawardena/f6ba060f75ee5b4b5214f74f1b4bd3dc to your computer and use it in GitHub Desktop.
Save chris-gunawardena/f6ba060f75ee5b4b5214f74f1b4bd3dc to your computer and use it in GitHub Desktop.
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