mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-30 17:15:49 +00:00
19 lines
725 B
YAML
19 lines
725 B
YAML
language: node_js
|
|
node_js:
|
|
- "0.10"
|
|
before_script:
|
|
- npm install -g eslint
|
|
- curl 'https://raw.githubusercontent.com/ripple/javascript-style-guide/master/eslintrc' > ./eslintrc
|
|
- eslint --reset -c ./eslintrc $(git --no-pager diff --name-only --diff-filter=AM --relative $(git merge-base FETCH_HEAD origin/HEAD) FETCH_HEAD | grep "\.js$")
|
|
script: MOCHA_REPORTER=tap npm test --coverage
|
|
after_success:
|
|
- npm run coveralls
|
|
notifications:
|
|
email: false
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/d1ec4245f90231619d30
|
|
on_success: change # options: [always|never|change] default: always
|
|
on_failure: always # options: [always|never|change] default: always
|
|
on_start: false # default: false
|