Skip to content

Commit 801d0bb

Browse files
committed
Link Travis to Code Climate
1 parent 9080a13 commit 801d0bb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1+
env:
2+
global:
3+
- CC_TEST_REPORTER_ID=0e40ab3687485873afefc42e91aeb802014cbb17805a991559b946ff5de27cf7
14
language: node_js
25
node_js: "node"
6+
before_script:
7+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
8+
- chmod +x ./cc-test-reporter
9+
- ./cc-test-reporter before-build
10+
script:
11+
- yarn lint
12+
- yarn jest-coverage
13+
after_script:
14+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)