-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
44 lines (34 loc) · 1.43 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
language: android
android:
components:
# installing tools to start, then use `sdkmanager` below to get the rest
- tools
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
# Emulator Management: Create, Start and Wait
install:
- echo 'count=0' > /home/travis/.android/repositories.cfg # Avoid harmless sdkmanager warning
- echo y | sdkmanager "platform-tools" >/dev/null
- echo y | sdkmanager "tools" >/dev/null # A second time per Travis docs, gets latest versions
- echo y | sdkmanager "build-tools;28.0.3" >/dev/null # Implicit gradle dependency - gradle drives changes
- echo y | sdkmanager "platforms;android-24" >/dev/null # We need the API of the emulator we will run
- echo y | sdkmanager "platforms;android-28" >/dev/null # We need the API of the current compileSdkVersion from gradle.properties
jdk:
- oraclejdk8
after_success:
- ".buildscript/deploy_snapshot.sh"
env:
global:
- secure: Hg7ZCYXmLEKIEXZnHqpOQrYY+ksTXhmStKZgRu0DS+eV8uTpCKE8t+ypOHmjRdCmNSbqOV+JQbox6hKv8+QFRzGQ6lv7TJISFg3Z/EE+EAg7021+BfR1IMGLZzKm/ICZt+gypDYOx/sn5eJZ5Bfs0fKI5ZFvgaRxR4BtUJaKo94=
- secure: VGT4norNGk8W780IIjaAn5CWNTqjAojRsHwC/t0lV3VzKyF5O4+PX9VetegxTVb5q8M3GybJuIwdYHMmS4Qk6Z0MvUxnQ4jTlEZzdRiioFAf4n0Yu4tFnMZqTlCRYfkhP/7U5jUwzHmD9s/eWJPOgBTmo9XGAyEi2XrBSVq9dUE=
branches:
except:
- gh-pages
notifications:
email: false
sudo: false
cache:
directories:
- "$HOME/.m2"