From 36cd3492eccbdc598e5afb956fe22b4c96fd7c66 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 16 Sep 2016 20:05:53 +0200 Subject: [PATCH] Add travis builds --- .travis.yml | 6 ++++++ package.json | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..22bdf91f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: node_js +node_js: + - "5.10" +script: + - npm run compile + - npm run test diff --git a/package.json b/package.json index 26f74b8c..1c18adb0 100644 --- a/package.json +++ b/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",