-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
33 lines (28 loc) · 879 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_API_LEVEL=27
- ANDROID_BUILD_TOOLS_VERSION=27.0.3
android:
components:
# Base components
- tools # to get the new `repository-11.xml`
- tools # https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION # get the build tools version to build the project
# used sdk versions
- android-$ANDROID_API_LEVEL # get the android sdk version to build the project
before_install:
- echo $ANDROID_TARGET
script:
- ./gradlew test
- ./gradlew build connectedCheck
- ./gradlew clean build
deploy:
provider: script
script: ./gradlew :clean :delta:assembleRelease :delta:bintrayUpload
skip_cleanup: true # to upload artifacts created during the build
dry-run: false
on:
branch: release