diff --git a/.travis.yml b/.travis.yml index e0267de..6547a5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,25 @@ language: node_js node_js: - "0.10" - "0.12" + +notifications: + email: + - "rafinskipg@gmail.com" + - "johnny.estilles@agentia.asia" + +addons: + code_climate: + repo_token: b6ed20570f0ec30b5b2acdbd706593928f204693efcd634110a36bc5f94822d9 + before_install: - npm install -g grunt-cli - npm install -g mocha -install: - - npm install + - npm install -g istanbul + - npm install -g codeclimate-test-reporter + +before_script: + - grunt jshint pre-test + +after_script: + - istanbul cover node_modules/.bin/_mocha + - codeclimate < ./coverage/lcov.info