mirror of
https://github.com/afollestad/nock-nock.git
synced 2025-08-18 08:21:15 +00:00
Attempt to fix Travis.ci running UI tests
This commit is contained in:
parent
97a0eda92c
commit
0770db5df5
2 changed files with 14 additions and 14 deletions
20
.travis.yml
20
.travis.yml
|
@ -1,10 +1,6 @@
|
||||||
language: android
|
language: android
|
||||||
jdk: oraclejdk8
|
jdk: oraclejdk8
|
||||||
|
|
||||||
env:
|
|
||||||
matrix:
|
|
||||||
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
|
|
||||||
|
|
||||||
android:
|
android:
|
||||||
components:
|
components:
|
||||||
- tools # to get the new `repository-11.xml`
|
- tools # to get the new `repository-11.xml`
|
||||||
|
@ -12,11 +8,23 @@ android:
|
||||||
- platform-tools
|
- platform-tools
|
||||||
- build-tools-28.0.3
|
- build-tools-28.0.3
|
||||||
- android-28
|
- android-28
|
||||||
|
- sys-img-armeabi-v7a-android-21
|
||||||
|
|
||||||
licenses:
|
licenses:
|
||||||
- '.+'
|
- '.+'
|
||||||
|
|
||||||
before_install:
|
env:
|
||||||
- yes | sdkmanager "platforms;android-28"
|
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:
|
script:
|
||||||
|
- android list target
|
||||||
- ./gradlew build connectedCheck
|
- ./gradlew build connectedCheck
|
||||||
|
|
|
@ -85,14 +85,6 @@
|
||||||
exception to pass custom error messages to Nock Nock.
|
exception to pass custom error messages to Nock Nock.
|
||||||
</string>
|
</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>
|
<string name="install_web_browser">Please install a web browser app, such as Google Chrome.</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue