Created
September 21, 2016 17:01
-
-
Save defHLT/9398d4c3b4b0df646b3c6444d970ab0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
paths: | |
- app/version.properties | |
before_script: | |
- export ANDROID_HOME=/opt/android | |
- touch app/version.properties | |
- ./gradlew clean | |
build: | |
stage: build | |
script: | |
- ./gradlew assembleRelease | |
except: | |
- develop | |
test: | |
stage: test | |
script: | |
- ./gradlew test | |
deploy: | |
script: | |
- ./gradlew -Pjenkins assembleRelease crashlyticsUploadDistributionRelease | |
stage: deploy | |
only: | |
- develop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment