Attempt to fix Travis.ci running UI tests

This commit is contained in:
Aidan Follestad 2019-04-18 16:12:06 -07:00
parent 97a0eda92c
commit 0770db5df5
2 changed files with 14 additions and 14 deletions

View file

@ -1,10 +1,6 @@
language: android
jdk: oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
android:
components:
- tools # to get the new `repository-11.xml`
@ -12,11 +8,23 @@ android:
- platform-tools
- build-tools-28.0.3
- android-28
- sys-img-armeabi-v7a-android-21
licenses:
- '.+'
before_install:
- yes | sdkmanager "platforms;android-28"
env:
global:
# install timeout in minutes (2 minutes by default)
- ADB_INSTALL_TIMEOUT=8
-
# Emulator Management: Create, Start and Wait
before_script:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
-
script:
- android list target
- ./gradlew build connectedCheck

View file

@ -85,14 +85,6 @@
exception to pass custom error messages to Nock Nock.
</string>
<string name="support_me">Donate</string>
<string name="support_me_message"><![CDATA[
<b>Nock Nock</b> was created and is maintained by one person. Donations are <b>much</b>
appreciated and encourage continued support.
]]></string>
<string name="thank_you">Thank you very much!</string>
<string name="next">Next</string>
<string name="install_web_browser">Please install a web browser app, such as Google Chrome.</string>
</resources>