Commit a9c1f558 by Nick Schonning Committed by Michael Mifsud

Build: Rename pretest to lint and only run once in CI (#1659)

parent 586a6760
......@@ -50,6 +50,7 @@ script:
after_success:
- if [ $TRAVIS_OS_NAME == "linux" ] && [ $TRAVIS_NODE_VERSION == "4" ]; then
npm run lint;
npm run-script coverage;
fi
......
......@@ -30,7 +30,7 @@
"coverage": "node scripts/coverage.js",
"install": "node scripts/install.js",
"postinstall": "node scripts/build.js",
"pretest": "node_modules/.bin/eslint bin/node-sass lib scripts test",
"lint": "node_modules/.bin/eslint bin/node-sass lib scripts test",
"test": "node_modules/.bin/mocha test",
"build": "node scripts/build.js --force",
"prepublish": "not-in-install && node scripts/prepublish.js || in-install"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment