File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ sudo: false
33language : node_js
44cache : yarn
55
6+ env :
7+ global :
8+ - CC_TEST_REPORTER_ID=9f4bef923b520da4cbdb209f004a8db49b215fc0f443efd2a1698585e65c21cb
9+
610node_js :
711- ' 8'
812- ' 6'
@@ -14,13 +18,16 @@ before_install:
1418
1519before_script :
1620- yarn build
21+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
22+ - chmod +x ./cc-test-reporter
23+ - ./cc-test-reporter before-build
1724
1825script :
1926- if [ -n "${LINT-}" ]; then yarn lint; fi
2027- if [ -z "${SKIPTESTS-}" ]; then yarn cover; fi
2128
2229after_script :
23- - codeclimate -test-reporter < coverage/lcov.info
30+ - ./cc -test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
2431
2532matrix :
2633 include :
You can’t perform that action at this time.
0 commit comments