From 37d01dea2053011e07cfa79b9d9e18d5a155790d Mon Sep 17 00:00:00 2001 From: Wallace Breza Date: Mon, 18 Jul 2016 07:56:44 -0700 Subject: [PATCH] Added travis CI configuration (#19) * Added travis CI configuration * Added travis build image to readme --- .travis.yml | 17 +++++++++++++++++ README.md | 3 +++ package.json | 6 ++---- 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e78a8b8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: node_js +node_js: +- '4.4' +before_install: +- npm install -g typings typescript +- npm link typescript +- typings install +script: tsc +deploy: + provider: npm + email: nugetpowerbi@microsoft.com + api_key: + secure: bo5ec5OaQ5mdG2tQV32Telbkx1kbcHgqBzBmEUAaH2QlY/47Bdx3BIC7SyA7vnLzBhixF7+V7biISa/1gOmjQ/OyhaHLzMiaGn+SMhSKUh0MD6ZhsT1p263QqHX4W6km/QQo8SOdWNuReetT2dfolSakAfPrLO9Lldtl4zDR4AIHn1MDpsEGa7xEemuOWIpu7iaIPDkm5LE9wkOjCcmfVyQumPABq3rEjyGiwGNP511731I0RK2fwmpWNdMZcQfsAMK1a60POeyoi9XsN2ThAqBAIaqESt7k+eaaAHuv42TylkI19hzpqDFVutwdRCI5GL0/ewGRztfF0d54O7U/3ZQsSwcWBJd2aP9ED5wL1kZ02cNyD+RZdvA4Svr38oU8EaVMv/GWAxvL3WMF737VtYKfWFNAzb4GicL1aOavf6vAM5LAcDCDR7ZJQv9EAgkJdBsyHCtkrzb8CECIGyC7z3NzeRlOUNK2V+Y9vYDNj/z9xb8bzyWwsjBm6KSFbP/SB5TxzGfPI4mCY0bpH7xPMQSCIsREHCrjwAXMa4nT2NJG7kwrOjAEFU9800fXEbjpFjnLmYj5l1xt83FVTgHxZVkvFtK/JOx2GxKMccA/Eaims+LzNrEI2TOS+oryznGfI8JGTVimdHowAVQ9MHAqdY1Wi0IvTqykcXvCapQc+To= + on: + tags: true + repo: Microsoft/PowerBI-Cli + branch: master diff --git a/README.md b/README.md index 918e740..5ccdbd3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # powerbi-cli + +[![Build Status](https://travis-ci.org/Microsoft/PowerBI-Cli.svg?branch=master)](https://travis-ci.org/Microsoft/PowerBI-Cli) + Power BI command line interface for managing Power BI Embedded workspace collections ## Installation Install from npm diff --git a/package.json b/package.json index 82c2427..d3a5b45 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,8 @@ "main": "./index.js", "typings": "./index.d.ts", "scripts": { - "preinit": "npm install -g typings typescript && npm install", - "init": "typings install && tsc", - "prepublish": "dos2unix bin/**", - "postpublish": "unix2dos bin/**" + "precontrib": "npm install -g typings typescript && npm install", + "contrib": "typings install && tsc" }, "author": "PowerBI (https://dev.powerbi.com)", "license": "MIT",