-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (50 loc) · 1.16 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
sudo: required
dist: precise
group: edge
language: android
cache:
directories:
- $HOME/.gradle/caches/$GRADLE_VERSION
- $HOME/.gradle/caches/jars-1
- $HOME/.gradle/native
- $HOME/.gradle/wrapper
- $HOME/.m2/repository/
before_cache:
- rm -rf $HOME/.gradle/daemon/
- rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
jdk: oraclejdk8
git:
depth: 10
branches:
only:
- develop
- master
- /release-.*$/
matrix:
fast_finish: true
env:
matrix:
- TEST_SUITE="assemble"
- TEST_SUITE="lint"
- TEST_SUITE="test jacocoDebugTestReport coveralls"
global:
- MODULE_DIR="app"
- MALLOC_ARENA_MAX=2
- TERM=dumb
- ADB_INSTALL_TIMEOUT=12
- export GRADLE_VERSION=$(sed -n "/[0-9]\.[0-9]/p" gradle/wrapper/gradle-wrapper.properties | cut -c 67-69)
android:
components:
- platform-tools
- tools
- build-tools-25.0.2
- android-25
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository
script:
- bash "ci/run_script.sh"
after_success:
- bash "ci/run_deploy.sh"
after_failure:
- bash "ci/run_after_failure.sh"