Skip to content

Commit

Permalink
Some more emulator testing
Browse files Browse the repository at this point in the history
  • Loading branch information
isuPatches committed Jul 24, 2017
1 parent 45dfcc4 commit fee686d
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,39 @@
language: android
jdk: oraclejdk8

sudo: required
dist: precise
language: android

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
jdk:
- oraclejdk8

android:
components:
- platform-tools
- tools
- build-tools-26.0.0
- android-16
- android-26
- sys-img-armeabi-v7a-android-16
- platform-tools
- android-22
- android-24
- android-25
- build-tools-25.0.2
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository

env:
matrix:
- $TARGET=android-16 ABI=armeabi-v7a
- API=android-15 ABI=armeabi-v7a
- API=android-16 ABI=armeabi-v7a
- API=android-17 ABI=armeabi-v7a
- API=android-18 ABI=armeabi-v7a
- API=android-19 ABI=armeabi-v7a
- API=android-21 ABI=armeabi-v7a
- API=android-22 ABI=armeabi-v7a
- API=android-24 ABI=armeabi-v7a
- API=android-24 ABI=arm64-v8a

# Emulator Management: Create, Start and Wait
before_script:
- echo no | android create avd --force -n test -t $TARGET --abi $ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-update-sdk --components=sys-img-$ABI-$API --accept-licenses='android-sdk-license-[0-9a-f]{8}'
- echo no | android create avd --force -n test -t $API --abi $ABI
- emulator -avd test -no-audio -no-window
- android-wait-for-emulator
- adb shell input keyevent 82 &

script:
- ./gradlew clean assembleDebug assembleDebugAndroidTest
- travis_wait 60 ./gradlew connectedDebugAndroidTest --stacktrace
- ./gradlew jacocoDebugReport

after_success:
- bash <(curl -s https://codecov.io/bash)
- ./gradlew clean assemble

0 comments on commit fee686d

Please sign in to comment.