Skip to content

Commit 04d98fb

Browse files
committed
chore(tests): Fix condition for running tests on specific version of node
1 parent 9f0de7c commit 04d98fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"docs:dev": "npm run build && npm run docs:build",
1919
"docs:watch": "watchy -w lib,jsdoc-template npm run docs:dev",
2020
"docs:publish": "npm run docs:build && ./bin/publish-docs.sh",
21-
"test:ci": "npm run test:cover && npm run test:integration && if [[ \"$TRAVIS_NODE_VERSION\" =~ \"5\" ]] ; then npm run test:browser-remote; fi",
21+
"test:ci": "npm run test:cover && npm run test:integration && if [ `echo $TRAVIS_NODE_VERSION|cut -c 1` == \"5\" ] ; then npm run test:browser-remote; fi",
2222
"test:cover": "BABEL_ENV=test babel-node ./node_modules/istanbul/lib/cli.js cover test/runner",
2323
"test:only": "BABEL_ENV=test babel-node ./test/runner",
2424
"test:debug": "BABEL_ENV=test babel-node debug ./test/runner",

0 commit comments

Comments
 (0)