forked from OneSignal/OneSignal-Android-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (33 loc) · 842 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
32
33
34
language: android
sudo: false
jdk: oraclejdk8
dist: trusty
android:
components:
- tools
- tools # Include again to work around travis not using the latest.
# https://github.com/travis-ci/travis-ci/issues/6193
# Required to get the newest platform-tools.
- platform-tools
- build-tools-28.0.3
- android-28
licenses:
- '.+'
- 'android-sdk-license-.+'
before_install:
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3"
- pwd
- ls -la
- cd OneSignalSDK
before_script:
- chmod +x gradlew
script:
- ./gradlew unittest:testReleaseUnitTest --console=plain
after_failure:
- cat build/reports/lint-results.xml
- cat build/outputs/lint-results-debug.xml
- cd ../..
- pwd
- ls -la $HOME
- ls -la $HOME/android-sdk