diff --git a/.travis.yml b/.travis.yml index 5f6f3c73..ebf74244 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ -sudo: false +sudo: required language: node_js node_js: -- 6 + - 6.3.1 + - lts/boron script: npm run-script ci cache: directories: diff --git a/package.json b/package.json index a616b430..70441921 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "browser": "browser.js", "scripts": { "ci": "npm run check && npm test", + "pretest": "mongodb-runner install", "test": "mocha", "fmt": "mongodb-js-fmt ./*.js lib/*.js ./test/*.js", "check": "mongodb-js-precommit"