-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
64 lines (50 loc) · 1.58 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
63
64
language: android
jdk:
- oraclejdk8
notifications:
email:
- aliezted@gmail.com
env:
global:
- ADB_INSTALL_TIMEOUT=10
sudo: required
android:
components:
- tools
- platform-tools
- build-tools-25.0.2
- android-23
- android-24
- android-25
- extra-android-support
- extra-android-m2repository
# Specify at least one system image,
# if you need to run emulator(s) during your tests
- sys-img-armeabi-v7a-android-21
- sys-img-armeabi-v7a-android-23
- sys-img-armeabi-v7a-android-25
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_install:
- sudo apt-get update
addons:
apt_packages:
- pandoc
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
script:
- ./building.sh
after_script:
- pandoc $TRAVIS_BUILD_DIR/tracking/build/reports/checkstyle/checkstyle.html -t plain | sed -n '/^stylechecking/,/default-package/p'
- pandoc $TRAVIS_BUILD_DIR/tracking/build/outputs/lint-results-debug.html -t plain | sed -n '/^lint checking/,/default-package/p'
- pandoc $TRAVIS_BUILD_DIR/tracking/build/reports/tests/debug/index.html -t plain | sed -n '/^debug testing/,/default-package/p'
- pandoc $TRAVIS_BUILD_DIR/tracking/build/reports/tests/release/index.html -t plain | sed -n '/^release testing/,/default-package/p'