Use a pre-release version of the CLI to avoid an error in the runtime

This commit is contained in:
Erjan Gavalji
2016-04-19 11:35:58 +03:00
parent 5e77a887ad
commit c10beedf05

View File

@@ -42,7 +42,7 @@ script:
- grunt default &&
FULL_PACKAGE_VERSION=`node -e 'console.log(require("./bin/dist/modules/package.json").version);'` &&
(cd build/platform-declarations && grunt) &&
echo no | npm install nativescript -g > /dev/null &&
echo no | npm install nativescript@next -g > /dev/null &&
grunt buildOnlyTestsApp --platform=Android --modulesPath=./bin/dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz --runtimeVersion=$RUNTIMEVERSION --emuPId=.*emulator.* --avd=$AVD_NAME --showEmu=false > /dev/null &&
grunt runOnlyTestsApp --platform=Android --modulesPath=./bin/dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz --emuPId=.*emulator.* --avd=$AVD_NAME --showEmu=false
- node ./build/travis-scripts/check-testrun-broken.js