mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
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:
parent
043370d84e
commit
b23ec1c587
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ env:
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- node_js: "6"
|
- node_js: "8"
|
||||||
env: TEST_SUITE=lint
|
env: TEST_SUITE=lint
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ install:
|
||||||
after_success:
|
after_success:
|
||||||
- |
|
- |
|
||||||
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
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..."
|
echo "Generate coverage..."
|
||||||
grunt coverage
|
grunt coverage
|
||||||
npm install -g codeclimate-test-reporter
|
npm install -g codeclimate-test-reporter
|
||||||
|
|
Loading…
Add table
Reference in a new issue