Skip to content

Commit 88aa052

Browse files
committed
Adopt Codeclimate for tracking both code quality and test coverage in place of Coveralls
1 parent 7c7ea89 commit 88aa052

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
21+
before_install: npm install -g grunt-cli codeclimate-test-reporter
2222
install: npm install
2323
script:
2424
- $TRAVIS_BUILD_DIR/travis.sh

Gruntfile.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ module.exports = function(grunt) {
3030
}
3131
}
3232
},
33-
coveralls: {
34-
options: {
35-
coverageDir: 'coverage/'
36-
}
37-
},
3833
karma: {
3934
options: {
4035
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-
# Flow.js [![Build Status](https://travis-ci.org/flowjs/flow.js.svg)](https://travis-ci.org/flowjs/flow.js) [![Coverage Status](https://coveralls.io/repos/flowjs/flow.js/badge.svg?branch=master&service=github)](https://coveralls.io/github/flowjs/flow.js?branch=master)
1+
# Flow.js [![Build Status](https://travis-ci.org/flowjs/flow.js.svg)](https://travis-ci.org/flowjs/flow.js) [![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/flow.js/badges/coverage.svg)](https://codeclimate.com/github/flowjs/flow.js/coverage)
22

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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"grunt-contrib-copy": "1.0.0",
3636
"grunt-contrib-clean": "1.0.0",
3737
"grunt-karma": "0.12.1",
38-
"grunt-karma-coveralls": "2.5.4",
3938
"grunt-template": "0.2.3",
4039
"karma": "0.13",
4140
"karma-coverage": "0.5.5",

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=64800c476bad6ab9d10d0ff0901ae2c211457852f28c5f960ae5165c1fdfec73 codeclimate-test-reporter < coverage/*/lcov.info
1313

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

0 commit comments

Comments
 (0)