Skip to content

Commit ab6aa45

Browse files
committed
added coverals and code climate post test
1 parent 569a195 commit ab6aa45

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

circle.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
test:
22
post:
3-
- cp -R coverage/ $CIRCLE_ARTIFACTS
3+
- npm run codeclimate
4+
- npm run covupdate
45

56
general:
67
artifacts:

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@
99
"build": "tsc",
1010
"test": "npm run build && istanbul cover --include-all-sources jasmine",
1111
"build_test": "npm run build && npm run test",
12-
"covupdate": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
12+
"covupdate": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
13+
"codeclimate": "codeclimate-test-reporter < coverage/lcov.info "
1314
},
1415
"author": "Abner Oliveira",
1516
"license": "MIT",
1617
"dependencies": {
1718
"shelljs": "^0.6.0"
1819
},
1920
"devDependencies": {
21+
"codeclimate-test-reporter": "^0.3.1",
2022
"codecov": "^1.0.1",
2123
"coveralls": "^2.11.6",
2224
"istanbul": "^0.4.2",

0 commit comments

Comments
 (0)