diff --git a/.babelrc b/.babelrc index 3719874..5f62126 100644 --- a/.babelrc +++ b/.babelrc @@ -1,10 +1,13 @@ { "presets": [ - ["@babel/preset-env", { - "targets": { - "node": 4 - }, - "loose": true - }] + [ + "@babel/preset-env", + { + "targets": { + "node": 6 + }, + "loose": true + } + ] ] } diff --git a/.circleci/config.yml b/.circleci/config.yml index 269c388..4a6dcbf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,6 +36,20 @@ jobs: test_with_node_10: docker: - image: circleci/node:10 + steps: + - checkout + - run: + name: Install dependencies + command: npm install + - run: + name: Test + command: npm test + - run: + name: Deploy coverage + command: bash <(curl -s https://codecov.io/bash) + test_with_node_11: + docker: + - image: circleci/node:11 steps: - checkout - run: @@ -55,3 +69,4 @@ workflows: - test_with_node_8 - test_with_node_9 - test_with_node_10 + - test_with_node_11 diff --git a/appveyor.yml b/appveyor.yml index 6489b4b..26ec858 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,6 +4,7 @@ environment: - nodejs_version: '8' - nodejs_version: '9' - nodejs_version: '10' + - nodejs_version: '11' install: - ps: Install-Product node $env:nodejs_version - set CI=true