Add travis builds

pull/2748/head
Alex Dima 2016-09-16 20:05:53 +02:00
parent 331b09c796
commit 36cd3492ec
2 changed files with 8 additions and 1 deletions

6
.travis.yml 100644
View File

@ -0,0 +1,6 @@
language: node_js
node_js:
- "5.10"
script:
- npm run compile
- npm run test

View File

@ -3,8 +3,9 @@
"version": "0.4.0", "version": "0.4.0",
"description": "Bundle of many languages for the Monaco Editor.", "description": "Bundle of many languages for the Monaco Editor.",
"scripts": { "scripts": {
"test": "node_modules/.bin/mocha", "compile": "node_modules/.bin/gulp compile",
"watch": "node_modules/.bin/gulp watch", "watch": "node_modules/.bin/gulp watch",
"test": "node_modules/.bin/mocha",
"prepublish": "node_modules/.bin/gulp release" "prepublish": "node_modules/.bin/gulp release"
}, },
"author": "Microsoft Corporation", "author": "Microsoft Corporation",