-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml-disabled
48 lines (40 loc) · 1.18 KB
/
.travis.yml-disabled
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
language: android
sudo: false
env:
global:
- JAVA7_HOME=/usr/lib/jvm/java-7-oracle
- JAVA8_HOME=/usr/lib/jvm/java-8-oracle
- JAVA_HOME=$JAVA7_HOME
- ANDROID_HOME=/usr/local/android-sdk
matrix:
- ANDROID_TARGET=android-18 ANDROID_ABI=armeabi-v7a
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.gradle/caches
- $HOME/.gradle/daemon
android:
coponents:
- platform-tools
- tools
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
licenses:
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
script:
- ./gradlew check assemble --stacktrace
before_script:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- rm -rf ./build ./android/build
after_success:
- ./gradlew jacocoFullReport
- pip install --user codecov
- codecov
after_failure:
- cat /home/travis/build/SmokSmog/smoksmog-android/android/build/outputs/lint-results-debug.xml