Example of Karma workflow with Travis CI and Coveralls.
$ npm install -g grunt-cli
$ git clone https://github.com/ama-ch/karma-intro.git
$ cd karma-intro
$ npm install
For TDD:
$ grunt karma:dev
For CI:
$ grunt karma:ci
For Coverage:
$ grunt coverage
This command is alias to grunt karma:coverage coveralls
.
grunt karma:coverage
generates coverage reports and grunt coveralls
posts to Coveralls.