securesmartcam / .travis.yml @ e54fc152
History | View | Annotate | Download (836 Bytes)
1 |
sudo: false |
---|---|
2 |
|
3 |
language: android |
4 |
|
5 |
env:
|
6 |
global:
|
7 |
# switch glibc to a memory conserving mode
|
8 |
- MALLOC_ARENA_MAX=2
|
9 |
# wait 5 minutes for adb to connect to emulator. Travis-ci cancels a
|
10 |
# stalled build after 10 minutes, so this should be shorter than that so
|
11 |
# there is time for the build to report the error.
|
12 |
- ADB_INSTALL_TIMEOUT=5
|
13 |
|
14 |
jdk:
|
15 |
- openjdk8
|
16 |
|
17 |
android:
|
18 |
components:
|
19 |
- tools
|
20 |
- platform-tools
|
21 |
- extra-android-m2repository
|
22 |
- build-tools-26.0.2
|
23 |
- android-25
|
24 |
licenses:
|
25 |
# only approve the free software licenses
|
26 |
- 'android-sdk-preview-license-52d11cd2'
|
27 |
- 'android-sdk-license-.+'
|
28 |
|
29 |
script:
|
30 |
# 'assemble' everything and run all checks that do not require a device/emulator
|
31 |
- ./gradlew build
|
32 |
- ./make-release-build
|
33 |
|
34 |
after_failure:
|
35 |
- find * -name lint-results.xml | xargs cat
|