You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
475 B
35 lines
475 B
language: android
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^v\d+\.\d+\.\d+$/
|
|
|
|
sudo: false
|
|
|
|
jdk:
|
|
- oraclejdk8
|
|
|
|
android:
|
|
components:
|
|
- tools
|
|
- platform-tools
|
|
- build-tools-26.0.1
|
|
- android-26
|
|
- doc-26
|
|
|
|
script:
|
|
- ./gradlew clean connectedCheck testDebugUnitTest
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.gradle
|
|
- $HOME/.m2/repository
|
|
|
|
deploy:
|
|
provider: script
|
|
script: ./gradlew bintrayUpload
|
|
skip_cleanup: true
|
|
on:
|
|
branch: master
|
|
tags: true |