2014-07-18 21:53:04 +02:00
|
|
|
language: node_js
|
2015-04-30 11:30:41 +02:00
|
|
|
|
2014-07-18 21:53:04 +02:00
|
|
|
node_js:
|
2016-01-15 10:17:26 +01:00
|
|
|
- stable
|
|
|
|
- v0.10
|
|
|
|
- v0.12
|
|
|
|
- v4
|
|
|
|
- v5
|
2015-04-30 11:30:41 +02:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
|
2015-07-09 22:28:45 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: dILRjgEPjnDy8wcqSkKS4KoxSykeffpReeiRXcXNK9iJvoxNQpfEycVuC7eG4KmdHdLj8RmrPIHE3S2x+su7LD5Nly/StaxfYTWIi1++3wSLP+SlDdv9h+uy2uA6bMsP4hys2ArQ+i/P5V4r5zq1iLIf3mavIchNwTT3ThhOIso=
|
|
|
|
|
2016-01-15 11:00:12 +01:00
|
|
|
script:
|
|
|
|
- npm test
|
|
|
|
- npm run sa
|
2015-05-02 21:31:51 +02:00
|
|
|
|
|
|
|
after_script:
|
|
|
|
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
|
|
|
|
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
|
2015-07-09 17:19:42 +02:00
|
|
|
- cat ./coverage/lcov.info | ./node_modules/codeclimate-test-reporter/bin/codeclimate.js
|
2015-05-02 21:31:51 +02:00
|
|
|
- rm -rf ./coverage
|