Skip to content

Commit

Permalink
Run tests on node 10. Drop support for node 4.0 (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored and leebyron committed May 24, 2018
1 parent f3ebab8 commit 0a30b62
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [["env", {
"modules": false,
"targets": {
"node": 4,
"node": 6,
"browsers": [
"ie 9",
"ios 9",
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: node_js

# https://github.com/nodejs/LTS
# https://github.com/nodejs/Release
node_js:
- '10'
- '9'
- '8'
- '6'
- '4'

git:
depth: 5
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"type": "git",
"url": "https://github.com/graphql/graphql-js.git"
},
"options": {
"mocha": "--check-leaks --full-trace --timeout 15000 src/**/__tests__/**/*-test.js"
},
"engines": {
"node": "6.x || 8.x || 9.x || >= 10.x"
},
"scripts": {
"watch": "babel-node ./resources/watch.js",
"test": "npm run lint && npm run check && npm run testonly",
Expand Down

0 comments on commit 0a30b62

Please sign in to comment.