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

36 lines
1.0 KiB
YAML

language: android
8 years ago
sudo: required
jdk: oraclejdk8
11 years ago
env:
7 years ago
global:
5 years ago
- TARGET_API=29
- BUILD_TOOLS=29.0.2
- ADB_INSTALL_TIMEOUT=10
11 years ago
matrix:
7 years ago
- EMULATOR_API=21 ANDROID_ABI=armeabi-v7a
android:
components:
- tools # https://github.com/travis-ci/travis-ci/issues/5049
8 years ago
- tools # https://github.com/travis-ci/travis-ci/issues/6040
7 years ago
- android-$TARGET_API
- android-$EMULATOR_API
- sys-img-$ANDROID_ABI-android-$EMULATOR_API
8 years ago
- platform-tools
7 years ago
- build-tools-$BUILD_TOOLS
10 years ago
- extra-android-m2repository
- extra-google-m2repository
11 years ago
before_install:
- yes | sdkmanager "platforms;android-28" # ical4android
7 years ago
- echo no | android create avd --force -n test -t android-$EMULATOR_API --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- ./.wait_for_emulator.sh
- adb shell input keyevent 82 &
script:
6 years ago
- ./gradlew :app:lintGoogleplayRelease
- ./gradlew -Pcoverage :app:createGoogleplayDebugAndroidTestCoverageReport
after_success:
- bash <(curl -s https://codecov.io/bash)