From eb4640fbce33001bfc465566e140bb823274341a Mon Sep 17 00:00:00 2001 From: dtopuzov Date: Fri, 16 Sep 2016 13:36:25 +0300 Subject: [PATCH] Install nativescript from amazonaws --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e76c6ccfe..b8f25c038 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,8 @@ script: - grunt default --verbose && FULL_PACKAGE_VERSION=`node -e 'console.log(require("./bin/dist/tns-core-modules/package.json").version);'` && (cd build/platform-declarations && grunt) && - echo no | npm install -g nativescript --ignore-scripts > /dev/null && tns usage-reporting disable && tns error-reporting disable && + wget -O ./nativescript.tgz "https://s3.amazonaws.com/nativescript-ci/build_result/nativescript.tgz" && + echo no | npm install -g nativescript.tgz --ignore-scripts > /dev/null && tns usage-reporting disable && tns error-reporting disable && grunt buildOnlyTestsApp --verbose --platform=Android --modulesPath=./bin/dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz --runtimeVersion=$RUNTIMEVERSION --emuPId=.*emulator.* --avd=$AVD_NAME --showEmu=false > /dev/null && grunt runOnlyTestsApp --verbose --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