only run eslint with newer node versions

This commit is contained in:
DABH 2018-05-02 12:28:19 -07:00
parent 64a2ea2510
commit ab42ad9d84

View File

@ -13,5 +13,6 @@ node_js:
- "0.8"
script:
- npm install
- "./node_modules/.bin/eslint . "
- npm install if-node-version
- if-node-version ">=4" node "./node_modules/.bin/eslint . "
- npm test