From 1d97ea8d20f4c0049b0ca8d5be95693ce27e364a Mon Sep 17 00:00:00 2001 From: Dag Evensberget Date: Mon, 2 Dec 2019 15:42:21 +1000 Subject: [PATCH] Add pretest and empty test script --- .travis.yml | 6 ++++++ package.json | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 587bd3e..c758063 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,7 @@ language: node_js +node_js: +- '0.10' +before_install: +- npm install -g typescript@1.0 +script: +- npm test diff --git a/package.json b/package.json index a2ceeae..c3b0468 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,9 @@ "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", - "watch": "tsc -watch -p ./" + "watch": "tsc -watch -p ./", + "pretest": "npm run compile", + "test": "" }, "devDependencies": { "typescript": "^3.7.2",