Skip to content

Commit

Permalink
Not giving up hope
Browse files Browse the repository at this point in the history
  • Loading branch information
isuPatches committed Jul 23, 2017
1 parent 1573fb6 commit 0007f46
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,25 @@ jdk: oraclejdk8
sudo: required
dist: precise

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

android:
components:
- platform-tools
- tools
- build-tools-26.0.0
- android-26
# - 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-16 ABI=x86_x64
# - API=android-17 ABI=armeabi-v7a
# - API=android-18 ABI=armeabi-v7a
# - API=android-19 ABI=armeabi-v7a
Expand All @@ -26,10 +31,10 @@ env:
# - API=android-22 ABI=armeabi-v7a
# - API=android-24 ABI=armeabi-v7a
# - API=android-25 ABI=armeabi-v7a
- API=android-26 ABI=armeabi-v7a
# - API=android-26 ABI=armeabi-v7a

before_script:
- android-update-sdk --components=sys-img-$ABI-$API --accept-licenses='android-sdk-license-[0-9a-f]{8}'
- android-update-sdk --components=sys-img-$ABI-google_apis-$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
Expand Down

0 comments on commit 0007f46

Please sign in to comment.