0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Node v12 is now LTS and supported

- no more allowed failures
- shouldn't need ignore-engines flag anymore
This commit is contained in:
Hannah Wolfe 2019-11-06 09:37:28 +07:00
parent b91f3071be
commit 6315223589

View file

@ -17,13 +17,11 @@ matrix:
include:
- node_js: '10'
env: TEST_SUITE=lint
allow_failures:
- node_js: '12'
install:
- if [ "$TRAVIS_NODE_VERSION" == "12" ]; then yarn --ignore-engines; else yarn; fi
- yarn
before_script:
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi
- if [ "$DB" == "sqlite3" ]; then yarn add --ignore-engines --force sqlite3; fi
- if [ "$DB" == "sqlite3" ]; then yarn add --force sqlite3; fi
script: |
if [ "$TEST_SUITE" == "lint" ]; then
yarn lint