forked from line/line-sdk-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (37 loc) · 1.12 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: android
dist: trusty
jdk:
- oraclejdk8
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- tools
- platform-tools
# The BuildTools version used
- build-tools-27.0.3
# The SDK version used to compile
- android-27
# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
notifications:
email: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
# cache between builds
cache:
directories: #Cache all dirs under .gradle folder
- $HOME/.gradle/daemon #Cache daemon logs
- $HOME/.gradle/native #Cache library downloaded from the gradle dependency
- $HOME/.gradle/wrapper #Cache the gradle
install:
# Check install section: http://docs.travis-ci.com/user/build-configuration/#install
# If you'd like to skip the install stage entirely, set it to true and nothing will be run.
- true
before_script:
- chmod +x gradlew
#Build, and run tests
script:
- ./gradlew :app:assemble :line-sdk:test