Skip to content

Commit 38d4532

Browse files
committed
Adopt Codeclimate for tracking both code quality and test coverage in place of Coveralls
1 parent 204fd0d commit 38d4532

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ matrix:
1818
sauce_connect: true
1919
allow_failures:
2020
- env: TEST='browser-tests'
21-
before_install: npm install -g grunt-cli bower
21+
before_install: npm install -g grunt-cli bower codeclimate-test-reporter
2222
install:
2323
- npm install
2424
- bower update

Gruntfile.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ module.exports = function(grunt) {
3434
}
3535
}
3636
},
37-
coveralls: {
38-
options: {
39-
coverageDir: 'coverage/'
40-
}
41-
},
4237
karma: {
4338
options: {
4439
configFile: 'karma.conf.js'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ng-flow [![Build Status](https://travis-ci.org/flowjs/ng-flow.svg)](https://travis-ci.org/flowjs/ng-flow) [![Coverage Status](https://coveralls.io/repos/flowjs/ng-flow/badge.svg?branch=master&service=github)](https://coveralls.io/github/flowjs/ng-flow?branch=master)
1+
# ng-flow [![Build Status](https://travis-ci.org/flowjs/ng-flow.svg)](https://travis-ci.org/flowjs/ng-flow) [![Code Climate](https://codeclimate.com/github/flowjs/flow.js/badges/gpa.svg)](https://codeclimate.com/github/flowjs/flow.js) [![Test Coverage](https://codeclimate.com/github/flowjs/ng-flow/badges/coverage.svg)](https://codeclimate.com/github/flowjs/ng-flow/coverage)
22

33
[![Saucelabs Test Status](https://saucelabs.com/browser-matrix/ng-flow.svg)](https://saucelabs.com/u/ng-flow)
44

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"grunt-contrib-concat": "1.0.0",
3232
"grunt-contrib-uglify": "1.0",
3333
"grunt-karma": "0.12.1",
34-
"grunt-karma-coveralls": "2.5.4",
3534
"karma": "0.13",
3635
"karma-coverage": "0.5.5",
3736
"karma-firefox-launcher": "0.1.7",

travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ $TEST = "unit-tests" ]; then
99
sh -e /etc/init.d/xvfb start
1010
sleep 1
1111
grunt karma:coverage
12-
grunt coveralls
12+
CODECLIMATE_REPO_TOKEN=9fcd24bf39f62bd186255d37ee66d0b1aaca8be7ea6616f074dd6c06a86720ab codeclimate-test-reporter < coverage/*/lcov.info
1313

1414
elif [[ $TEST = "browser-tests" ]]; then
1515

0 commit comments

Comments
 (0)