You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/.travis.yml

31 lines
927 B
YAML

language: android
sudo: false
jdk: oraclejdk8
11 years ago
env:
matrix:
- ANDROID_SDKS=android-23,sysimg-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
android:
components:
- tools # https://github.com/travis-ci/travis-ci/issues/5049
9 years ago
- android-24
- platform-tools-24
- build-tools-24.0.1
10 years ago
- extra-android-m2repository
- extra-google-m2repository
licenses:
- 'android-sdk-license-.+'
11 years ago
before_install:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- ./.wait_for_emulator.sh
- adb shell input keyevent 82 &
script:
9 years ago
- ./gradlew :lintGoogleplayProdDebug
- ./gradlew :createGoogleplayProdDebugAndroidTestCoverageReport
10 years ago
after_success:
9 years ago
- mv build/reports/coverage/googleplayProd/debug/report.xml build/reports/coverage/googleplayProd/debug/coverage.xml
10 years ago
- bash <(curl -s https://codecov.io/bash)