Skip to content

Commit

Permalink
Still trying some more things
Browse files Browse the repository at this point in the history
  • Loading branch information
isuPatches committed Jul 23, 2017
1 parent e1fc49a commit 1573fb6
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,43 @@
language: android
jdk: oraclejdk8
sudo: false

sudo: required
dist: precise

android:
components:
- platform-tools
- tools
- build-tools-26.0.0
- android-22
- android-26
- sys-img-armeabi-v7a-android-22
# - sys-img-armeabi-v7a-android-22
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository

env:
matrix:
- 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-20 ABI=armeabi-v7a
# - API=android-21 ABI=armeabi-v7a
# - API=android-22 ABI=armeabi-v7a
# - API=android-24 ABI=armeabi-v7a
# - API=android-25 ABI=armeabi-v7a
- API=android-26 ABI=armeabi-v7a

before_script:
# Create and start emulator
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- 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
- ./gradlew clean assembleDebug assembleDebugAndroidTest
- android-wait-for-emulator
- adb shell input keyevent 82 &

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

after_success:
Expand Down

0 comments on commit 1573fb6

Please sign in to comment.