Trying to fix the failing Android tests.

This commit is contained in:
Rossen Hristov
2016-06-02 16:13:50 +03:00
parent 17cc067e25
commit c26e0b29f3

View File

@ -4,7 +4,7 @@ env:
- PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER - PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
- PACKAGE_NAME=tns-core-modules - PACKAGE_NAME=tns-core-modules
- NODE_VERSION=5.10.1 - NODE_VERSION=5.10.1
- EMULATOR_API_VER=22 - EMULATOR_API_VER=21
- RUNTIMEVERSION=next - RUNTIMEVERSION=next
- AVD_NAME=Arm$EMULATOR_API_VER - AVD_NAME=Arm$EMULATOR_API_VER
addons: addons:
@ -33,8 +33,7 @@ before_script:
- npm install -g grunt-cli - npm install -g grunt-cli
- npm install - npm install
- "(cd build/platform-declarations && npm install)" - "(cd build/platform-declarations && npm install)"
- echo no | android create avd --force -n $AVD_NAME -t android-$EMULATOR_API_VER -b - echo no | android create avd --force -n $AVD_NAME -t android-$EMULATOR_API_VER --abi default/armeabi-v7a -c 12M
armeabi-v7a -c 12M
- emulator -avd $AVD_NAME -skin WXGA720 -no-audio -no-window -memory 2048 & - emulator -avd $AVD_NAME -skin WXGA720 -no-audio -no-window -memory 2048 &
- android-wait-for-emulator - android-wait-for-emulator
script: script: