Add node 11 to CI and remove node 9 (#9096)

This commit is contained in:
Daniel Tschinder 2018-11-28 12:36:58 -08:00 committed by GitHub
parent 559d649994
commit 6e39b58f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ jobs:
build: build:
working_directory: ~/babel working_directory: ~/babel
docker: docker:
- image: circleci/node:10 - image: circleci/node:11
steps: steps:
- checkout - checkout
- restore-cache: *restore-yarn-cache - restore-cache: *restore-yarn-cache

View File

@ -1,14 +1,12 @@
git: git:
depth: 10 depth: 5
sudo: false sudo: false
language: node_js language: node_js
cache: cache:
yarn: true yarn: true
directories:
- node_modules
node_js: node_js:
# We test the latest version on circleci # We test the latest version on circleci
- '9' - '10'
- '8' - '8'
- '6' - '6'
@ -20,7 +18,9 @@ env:
before_install: before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash - curl -o- -L https://yarnpkg.com/install.sh | bash
install: yarn --ignore-engines install:
# the `make test-ci` script runs this command already
- if [ "$JOB" != "test" ]; then yarn install; fi
before_script: before_script:
- 'if [ "$JOB" = "babel-parser-flow-tests" ]; then make bootstrap-flow; fi' - 'if [ "$JOB" = "babel-parser-flow-tests" ]; then make bootstrap-flow; fi'