Switch Travis to Node v8 for linting and coverage (#9487)

no issue
- we're switching our development environments and internal hosting to version 8 in preparation to switch our recommended Node.js version to 8
- node v8 is much faster than node v6
This commit is contained in:
Katharina Irrgang 2018-03-06 17:04:02 +01:00 committed by Kevin Ansfield
parent 043370d84e
commit b23ec1c587

View File

@ -28,7 +28,7 @@ env:
matrix:
include:
- node_js: "6"
- node_js: "8"
env: TEST_SUITE=lint
fast_finish: true
@ -46,7 +46,7 @@ install:
after_success:
- |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
if [[ "$DB" = "sqlite3" && "$TRAVIS_NODE_VERSION" = "6" ]]; then
if [[ "$DB" = "sqlite3" && "$TRAVIS_NODE_VERSION" = "8" ]]; then
echo "Generate coverage..."
grunt coverage
npm install -g codeclimate-test-reporter