Skip to content

Commit 8f125f6

Browse files
committed
build: run lint on all compatible Node.js builds
1 parent 137f34b commit 8f125f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ before_install:
2929
# Setup Node.js version-specific dependencies
3030
- "test $TRAVIS_NODE_VERSION != '0.6' || npm rm --save-dev istanbul"
3131
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
32-
- "test $TRAVIS_NODE_VERSION = '4.7' || npm rm --save-dev eslint"
32+
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev eslint"
3333

3434
# Update Node.js modules
3535
- "test ! -d node_modules || npm prune"

0 commit comments

Comments
 (0)