From 57c38e55d03009179f401b46f5a315beca3afe0a Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Tue, 27 Nov 2018 20:08:57 -0800 Subject: [PATCH] Add node 11 to CI and remove node 9 --- .circleci/config.yml | 2 +- .travis.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7fe155f9f564..95de88499fc5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,7 +34,7 @@ jobs: build: working_directory: ~/babel docker: - - image: circleci/node:10 + - image: circleci/node:11 steps: - checkout - restore-cache: *restore-yarn-cache diff --git a/.travis.yml b/.travis.yml index 67627f76c300..7b2d47fde7e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,12 @@ git: - depth: 10 + depth: 5 sudo: false language: node_js cache: yarn: true - directories: - - node_modules node_js: # We test the latest version on circleci - - '9' + - '10' - '8' - '6' @@ -20,7 +18,9 @@ env: before_install: - 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: - 'if [ "$JOB" = "babel-parser-flow-tests" ]; then make bootstrap-flow; fi'