Make travis/jenkins check for lint on files which are clean to start with

This commit is contained in:
Richard van der Hoff 2017-06-08 13:52:52 +01:00
parent ea02d8841c
commit 9bda212cb1
5 changed files with 225 additions and 3 deletions

11
scripts/travis.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
set -ex
npm run test
./.travis-test-riot.sh
# run the linter, but exclude any files known to have errors or warnings.
./node_modules/.bin/eslint --max-warnings 0 \
--ignore-path .eslintignore.errorfiles \
src test