forked from IBM/event-notifications-destination-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 924 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
language: android
sudo: false
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- extra
- extra-android-m2repository
- extra-google-m2repository
- extra-android-support
- extra-google-google_play_services
licenses:
- '.+'
- android-sdk-license-.+
- google-gdk-license-.+
env:
global:
- END_TASK=""
before_script:
- echo yes | sdkmanager "tools"
- echo yes | sdkmanager "platforms;android-28" # Latest platform required by SDK tools
- echo yes | sdkmanager "extras;android;m2repository"
- echo yes | sdkmanager "extras;google;m2repository"
- echo yes | sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2"
- echo yes | sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2"
- chmod +x gradlew
script:
- ./gradlew clean assemble test