-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
33 lines (27 loc) · 798 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
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
env:
global:
- ANDROID_API_LEVEL=28
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
android:
components:
- tools
- tools # Running this twice get's the latest build tools (https://github.com/codepath/android_guides/wiki/Setting-up-Travis-CI)
- platform-tools
- android-${ANDROID_API_LEVEL}
- build-tools-${ANDROID_BUILD_TOOLS_VERSION}
- extra
script:
- ./gradlew buildDebug
# common-all:createDebugCoverageReport common-client:createDebugCoverageReport
after_success:
- bash <(curl -s https://codecov.io/bash)