0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -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: include:
- node_js: '10' - node_js: '10'
env: TEST_SUITE=lint env: TEST_SUITE=lint
allow_failures:
- node_js: '12'
install: install:
- if [ "$TRAVIS_NODE_VERSION" == "12" ]; then yarn --ignore-engines; else yarn; fi - yarn
before_script: before_script:
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi - 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: | script: |
if [ "$TEST_SUITE" == "lint" ]; then if [ "$TEST_SUITE" == "lint" ]; then
yarn lint yarn lint