-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (33 loc) · 696 Bytes
/
.travis.yml
File metadata and controls
42 lines (33 loc) · 696 Bytes
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
language: android
android:
components:
- tools
- platform-tools
- build-tools-25.0.3
- android-25
- extra-android-m2repository
- extra-android-support
licenses:
- 'android-sdk-license.*'
jdk:
- oraclejdk8
branches:
only:
- develop
- master
- /^alpha.*$/
- /^beta.*$/
- /^release.*$/
notifications:
email: false
sudo: false
before_install:
- export ANDROID_HOME=/usr/local/android-sdk
- echo "sdk.dir=$ANDROID_HOME" > local.properties
script: 'travis_retry ./gradlew assembleRelease'
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/