Permalink
Browse files

Coveralls support

  • Loading branch information...
1 parent 599b813 commit 2b0d2b639d501e92aa48ea92ae91c2a3e33249ab @davidlgj davidlgj committed Jul 7, 2014
Showing with 9 additions and 2 deletions.
  1. +2 −0 .coveralls.yml
  2. +3 −0 README.md
  3. +1 −1 karma.conf.js
  4. +3 −1 package.json
View
@@ -0,0 +1,2 @@
+service_name: travis-ci
+
View
@@ -1,6 +1,9 @@
Angular Schema Form
===================
+[![Build Status](https://travis-ci.org/Textalk/angular-schema-form.svg?branch=master)](https://travis-ci.org/Textalk/angular-schema-form)
+[![Coverage Status](https://coveralls.io/repos/Textalk/angular-schema-form/badge.png?branch=master)](https://coveralls.io/r/Textalk/angular-schema-form?branch=development)
+
Generate forms from a JSON schema, with AngularJS!
### [Try out the example page](http://textalk.github.io/angular-schema-form/examples/bootstrap-example.html)
View
@@ -45,7 +45,7 @@ module.exports = function(config) {
// optionally, configure the reporter
coverageReporter: {
- type : 'html',
+ type : 'lcov',
dir : 'coverage/'
},
View
@@ -3,12 +3,13 @@
"version": "0.4.0",
"description": "Create forms from a JSON schema",
"scripts": {
- "test": "./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"
+ "test": "rm -fr coverage && ./node_modules/karma/bin/karma start --single-run --browsers PhantomJS karma.conf.js && find coverage/ -name lcov.info -print0 | xargs -0 cat | ./node_modules/coveralls/bin/coveralls.js"
},
"author": "Textalk",
"license": "MIT",
"devDependencies": {
"chai": "^1.9.0",
+ "coveralls": "^2.11.0",
"gulp": "^3.5.6",
"gulp-angular-templatecache": "^1.1.1",
"gulp-concat": "^2.2.0",
@@ -22,6 +23,7 @@
"karma-ng-html2js-preprocessor": "^0.1.0",
"karma-phantomjs-launcher": "^0.1.4",
"mocha": "^1.18.0",
+ "mocha-lcov-reporter": "0.0.1",
"sinon": "^1.9.0",
"sinon-chai": "^2.5.0",
"streamqueue": "0.0.5"

0 comments on commit 2b0d2b6

Please sign in to comment.