Browse Source

Add travis builds

Alex Dima 8 years ago
parent
commit
36cd3492ec
2 changed files with 8 additions and 1 deletions
  1. 6 0
      .travis.yml
  2. 2 1
      package.json

+ 6 - 0
.travis.yml

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

+ 2 - 1
package.json

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