From 57336b1e64709d1bbe400eab6307e6f4c7ae3d37 Mon Sep 17 00:00:00 2001 From: Peter Schmidt Date: Fri, 25 Nov 2016 14:38:43 +1100 Subject: [PATCH] Standardise mongodb-runner CI https://github.com/mongodb-js/connection-model/pull/138 --- .travis.yml | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2a41e045..e1c539fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: node_js sudo: required node_js: - - 6 + - 6.3.1 + - lts/boron script: npm run-script ci cache: directories: diff --git a/package.json b/package.json index 0f1d2f7c..5b30d624 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ ], "scripts": { "ci": "npm run check && npm test", + "pretest": "mongodb-runner install", "test": "mocha", "fmt": "mongodb-js-fmt ./*.js ./test/*.js", "check": "mongodb-js-precommit"