Fix CI failure due to azure-iothub breaking change

This commit is contained in:
formulahendry 2017-03-01 22:34:19 +08:00
Родитель 7b054a41c2
Коммит f7ee64a4f4
4 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -14,8 +14,8 @@ before_install:
fi
install:
- tsc -v
- npm install
- npm run version
- npm run vscode:prepublish
script:

Просмотреть файл

@ -1,6 +1,6 @@
# Azure IoT Toolkit
[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Installs](https://vsmarketplacebadge.apphb.com/installs/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Rating](https://vsmarketplacebadge.apphb.com/rating/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Build Status](https://travis-ci.org/formulahendry/vscode-azure-iot-toolkit.svg?branch=master)](https://travis-ci.org/formulahendry/vscode-azure-iot-toolkit)
[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Installs](https://vsmarketplacebadge.apphb.com/installs/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Rating](https://vsmarketplacebadge.apphb.com/rating/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Build Status](https://travis-ci.org/formulahendry/vscode-azure-iot-toolkit.svg?branch=master)](https://travis-ci.org/formulahendry/vscode-azure-iot-toolkit) [![Build status](https://ci.appveyor.com/api/projects/status/fh583240003oggc0?svg=true)](https://ci.appveyor.com/project/formulahendry/vscode-azure-iot-toolkit)
Toolkit makes Azure IoT Development easier. For more awesome Azure IoT projects and resources, please visit https://aka.ms/azure.iot

Просмотреть файл

@ -2,10 +2,11 @@ environment:
nodejs_version: "6"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
- node --version
- npm --version
- tsc -v
- npm run version
build_script:
- npm run vscode:prepublish

Просмотреть файл

@ -264,7 +264,8 @@
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"tslint": "tslint -t verbose src/**/*.ts"
"tslint": "tslint -t verbose src/**/*.ts",
"version": "tsc -v"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
@ -279,7 +280,7 @@
"azure-event-hubs": "^0.0.6",
"azure-iot-device": "^1.0.16",
"azure-iot-device-http": "^1.0.16",
"azure-iothub": "^1.0.18",
"azure-iothub": "1.0.18",
"device-discovery-cli": "^0.5.9",
"scp2": "^0.5.0",
"simple-ssh": "^0.9.0"