Skip to content

Commit

Permalink
Add coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
asennikov committed Sep 28, 2015
1 parent 487010e commit a228855
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
/libpeerconnection.log
npm-debug.log
testem.log
lcov.dat
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ script:
- ember try $EMBER_TRY_SCENARIO test

after_script:
- cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js
- cat lcov.dat | node_modules/coveralls/bin/coveralls.js

notifications:
email:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ember-g-map [![Build Status](https://travis-ci.org/asennikov/ember-g-map.svg?branch=master)](https://travis-ci.org/asennikov/ember-g-map) [![Ember Observer Score](http://emberobserver.com/badges/ember-g-map.svg)](http://emberobserver.com/addons/ember-g-map)
# Ember-g-map [![Build Status](https://travis-ci.org/asennikov/ember-g-map.svg?branch=master)](https://travis-ci.org/asennikov/ember-g-map) [![Ember Observer Score](http://emberobserver.com/badges/ember-g-map.svg)](http://emberobserver.com/addons/ember-g-map) [![Coverage Status](https://coveralls.io/repos/asennikov/ember-g-map/badge.svg?branch=master&service=github)](https://coveralls.io/github/asennikov/ember-g-map?branch=master)

An ember-cli add-on for easy integration with Google Maps.
Each object displayed on map is inserted via child component,
Expand Down
2 changes: 1 addition & 1 deletion testem.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"framework": "qunit",
"test_page": "tests/index.html?hidepassed&coverage",
"test_page": "tests/index.html?coverage&hidepassed",
"disable_watching": true,
"launch_in_ci": [
"PhantomJS"
Expand Down
4 changes: 2 additions & 2 deletions tests/blanket-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ var options = {
reporters: ['lcov'],
autostart: true,
lcovOptions: {
outputFile: 'coverage/lcov.info',
outputFile: 'lcov.dat',
renamer: function(moduleName){
var expression = /^APP_NAME/;
var expression = /^ember-g-map/;
return moduleName.replace(expression, 'app') + '.js';
}
}
Expand Down

0 comments on commit a228855

Please sign in to comment.