Commit fb199177 by Nick Schonning

Run ESLint turing script phase so build fails

Failures in after_success don’t actually fail the build.
parent 7f1332bc
...@@ -46,11 +46,13 @@ before_install: ...@@ -46,11 +46,13 @@ before_install:
script: script:
- npm install - npm install
- if [ $TRAVIS_OS_NAME == "linux" ] && [ $TRAVIS_NODE_VERSION == "4" ]; then
npm run lint || exit 1;
fi
- npm test - npm test
after_success: after_success:
- if [ $TRAVIS_OS_NAME == "linux" ] && [ $TRAVIS_NODE_VERSION == "4" ]; then - if [ $TRAVIS_OS_NAME == "linux" ] && [ $TRAVIS_NODE_VERSION == "4" ]; then
npm run lint;
npm run-script coverage; npm run-script coverage;
fi fi
......
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