Last active
January 21, 2019 06:01
-
-
Save pritishvaidya/7e40ae5cb72dc2557163768e6416fd54 to your computer and use it in GitHub Desktop.
Code Climate integration with Travis for Javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
node_js: | |
- 10 | |
- 8 | |
- 6 | |
addons: | |
code_climate: | |
repo_token: | |
secure: "Uigo1j3sA1pau35x4VTlzh4eqs5Ii5qBEkzv/HCGrMdVLUKzZFR74TSdyEtAq7GP+rjiZJ8FKWbs3f5VpV7dk4i1gIeIeclhgiWrLZr0lXCLZLiGnVm2Hf+u2uLy9i77NvuwNreG08dK1XUkBcKury1MuKsDZf1rIZsQEML3Wcxco15g7udiee8sHeaZ1mHgRLY45CyoHD/o/82jPz1nCRWGMGzXtNrejM+zI6fuXhijuUMS+tO0D+PTDvtxoOXp9h5s/A98Ro6pfwdsaN9Koi/VRn9o++Mp3wW9fF7ap09McItEPOcOE9BlBC8quhi9zcwrROqLxaoImRMBowTBGoQYrcHCGXUI+6cGooUxe9rGMz3lSL/r6Ha22EmKTaODxQrVCbAweBWbR/lDUB6i495Uqf8n5RhthwOfFaLcK3XGtiLAis9bpeskxN/P5+eiNHBHFIsoNFB1atqbGE4jkqWNG4rGwybhYZ/oSozcTWn1aubmgilJKhjJ+BSHWZl04vD8GaWKU3pyVua8n4JsYR/J9N9O6lWvmiEMRAaX7FZESWWdEiREpvj3CPgQXHH4LUNLGMBBStXW0RQKujz7Cp7FzC0rdXRP9WADL2+p87l2iJVjiSNOLCLf3geafbLSGVJ0oB/KAfZLRaIRXKoZ+d7uNy/bTwBRwReB5b+4i7Y=" | |
script: xo && nyc --reporter=lcov ava | |
before_script: | |
- npm install codeclimate-test-reporter nyc xo ava -g | |
after_script: | |
- codeclimate-test-reporter < ./coverage/lcov.info | |
notifications: | |
email: | |
recipients: | |
- [email protected] | |
on_success: never | |
on_failure: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment