Skip to content

Commit

Permalink
chore: Compile for Node 6 & Enable CI to run the tests with node 11 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tleunen committed Jan 21, 2019
1 parent a387aee commit 3a0c560
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .babelrc
@@ -1,10 +1,13 @@
{
"presets": [
["@babel/preset-env", {
"targets": {
"node": 4
},
"loose": true
}]
[
"@babel/preset-env",
{
"targets": {
"node": 6
},
"loose": true
}
]
]
}
15 changes: 15 additions & 0 deletions .circleci/config.yml
Expand Up @@ -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:
Expand All @@ -55,3 +69,4 @@ workflows:
- test_with_node_8
- test_with_node_9
- test_with_node_10
- test_with_node_11
1 change: 1 addition & 0 deletions appveyor.yml
Expand Up @@ -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
Expand Down

0 comments on commit 3a0c560

Please sign in to comment.