Skip to content

Commit 4e581ba

Browse files
MartinHelmutdhleong
authored andcommitted
Add specific test CI environments (#73)
1 parent 0de86a1 commit 4e581ba

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
language: node_js
22
node_js:
33
- "node"
4+
- "8"
5+
- "6"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "babel lib -d dist",
1010
"prepublish": "npm run build",
11-
"test": "node_modules/mocha/bin/mocha test test/"
11+
"test": "mocha --compilers js:babel-core/register test test/"
1212
},
1313
"repository": {
1414
"type": "git",
@@ -37,6 +37,7 @@
3737
},
3838
"devDependencies": {
3939
"babel-cli": "^6.26.0",
40+
"babel-core": "^6.26.0",
4041
"babel-plugin-transform-object-rest-spread": "^6.26.0",
4142
"babel-preset-env": "^1.4.0",
4243
"chai": "^3.5.0",

0 commit comments

Comments
 (0)