diff --git a/.travis.yml b/.travis.yml index 52672917..3a5f1735 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,13 +8,11 @@ cache: - node_modules node_js: - - "6" - - "node" + - "8" + - "10" + - "12" script: - # For older versions of npm (ie. the one bundled with Node 6), we need to manually run `prepare` - # to build the project. You can still install and consume the package without any issue. - - if [[ "$TRAVIS_NODE_VERSION" == "6" ]]; then npm run prepare; fi - npm run eslint - npm run test-cov diff --git a/package.json b/package.json index 12a4c108..1e2e1849 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,6 @@ "striptags": "^3.1.1" }, "engines": { - "node": ">=6.9.0" + "node": ">=8.6.0" } }