AndroidAPS/.travis.yml

34 lines
799 B
YAML
Raw Normal View History

2016-12-28 15:58:44 +01:00
language: android
jdk: oraclejdk8
env:
matrix:
2019-05-18 09:40:06 +02:00
- ANDROID_TARGET=android-28 ANDROID_ABI=x86 org.gradle.jvmargs=-XX:-OmitStackTraceInFastThrow
2016-12-28 15:58:44 +01:00
android:
components:
- platform-tools
- tools
2019-05-16 23:07:08 +02:00
- build-tools-28.0.3
- android-28
2016-12-28 15:58:44 +01:00
- extra-google-m2repository
- extra-android-m2repository
- extra-google-google_play_services
2018-01-25 13:28:46 +01:00
before_install:
2019-07-25 15:22:08 +02:00
#- yes | sdkmanager "platforms;android-28"
2018-01-25 13:28:46 +01:00
2016-12-28 15:58:44 +01:00
script:
# Unit Test
- ./gradlew -Pcoverage testFullDebugUnitTest jacocoTestFullDebugUnitTestReport
2018-01-10 23:31:31 +01:00
after_success:
- bash <(curl -s https://codecov.io/bash)
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