Skip to content

Commit 9f4a7e3

Browse files
committed
Run tests on node 10. Drop support for node 4.0
1 parent 2592e12 commit 9f4a7e3

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"presets": [["env", {
33
"modules": false,
44
"targets": {
5-
"node": 4,
5+
"node": 6,
66
"browsers": [
77
"ie 9",
88
"ios 9",

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
language: node_js
22

3-
# https://github.com/nodejs/LTS
3+
# https://github.com/nodejs/Release
44
node_js:
5+
- '10'
56
- '9'
67
- '8'
78
- '6'
8-
- '4'
99

1010
git:
1111
depth: 5

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
"type": "git",
1515
"url": "http://github.com/graphql/graphql-js.git"
1616
},
17+
"options": {
18+
"mocha": "--check-leaks --full-trace --timeout 15000 src/**/__tests__/**/*-test.js"
19+
},
20+
"engines": {
21+
"node": "6.x || 8.x || 9.x || >= 10.x"
22+
},
1723
"scripts": {
1824
"watch": "babel-node ./resources/watch.js",
1925
"test": "npm run lint && npm run check && npm run testonly",

0 commit comments

Comments
 (0)