Skip to content

Commit

Permalink
o
Browse files Browse the repository at this point in the history
  • Loading branch information
federicoiosue committed Jan 17, 2020
1 parent ddd74b8 commit fd07c2c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ sudo: true
language: android
dist: trusty
install: true
jdk: oraclejdk8

env:
global:
- ANDROID_API_LEVEL=22
- ANDROID_API_LEVEL=28
- ANDROID_EMULATOR_API_LEVEL=22
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
- ANDROID_ABI=armeabi-v7a

Expand All @@ -16,9 +18,6 @@ addons:
branches:
- develop

jdk:
- oraclejdk8

branches:
only:
- develop
Expand All @@ -33,9 +32,10 @@ android:
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
- android-$ANDROID_EMULATOR_API_LEVEL
- extra-google-m2repository
- extra-android-m2repository
- sys-img-armeabi-v7a-android-$ANDROID_API_LEVEL
- sys-img-armeabi-v7a-android-$ANDROID_EMULATOR_API_LEVEL

licenses:
- android-sdk-preview-license-.+
Expand All @@ -44,9 +44,10 @@ android:

before_install:
- yes | sdkmanager "platforms;android-$ANDROID_API_LEVEL"
- yes | sdkmanager "platforms;android-$ANDROID_EMULATOR_API_LEVEL"

before_script:
- echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
- echo no | android create avd --force -n test -t android-$ANDROID_EMULATOR_API_LEVEL --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
Expand Down

0 comments on commit fd07c2c

Please sign in to comment.