should be failed
MODIFY
.travis.yml
.travis.yml
@@ -57,4 +57,16 @@ before_script:
script:
- npm test
- - /bin/bash tests/travis.sh
+ #- /bin/bash tests/travis.sh
+
+ - if [[ "${CORDOVA_PLATFORM}" == "android" ]]; then
+ echo "y" | sdkmanager "platforms;android-${ANDROID_API}"; > /dev/null;
+ echo "y" | android update sdk -a --no-ui --filter android-${ANDROID_API} > /dev/null;
+ echo "y" | android update sdk -a --no-ui --filter sys-img-armeabi-v7a-android-${ANDROID_API} > /dev/null;
+ echo no | android create avd --force -n test -t android-${ANDROID_API} --abi armeabi-v7a > /dev/null;
+ emulator -avd test -no-skin -no-window;
+ android-wait-for-emulator;
+ adb shell input keyevent 82;
+ adb wait-for-device get-serialno;
+ cordova-paramedic --platform android --plugin . --justbuild;
+ fi

should be failed