File tree 4 files changed +71
-673
lines changed
4 files changed +71
-673
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,20 @@ script:
19
19
env :
20
20
- CXX=g++-4.8 INSTALL_HIREDIS="yes"
21
21
- INSTALL_HIREDIS="no"
22
+ - CC_TEST_REPORTER_ID="4cee2f60edbf31acac6ddff823f0b93e2e9882c3e5c55130049e0fd878549f84"
22
23
23
24
before_script :
24
25
- if [ "$INSTALL_HIREDIS" = "yes" ]; then npm install hiredis; fi
26
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
27
+ - chmod +x ./cc-test-reporter
28
+ - ./cc-test-reporter before-build
25
29
26
30
addons :
27
31
apt :
28
32
sources :
29
33
- ubuntu-toolchain-r-test
30
34
packages :
31
35
- g++-4.8
32
- code_climate :
33
- repo_token : 4cee2f60edbf31acac6ddff823f0b93e2e9882c3e5c55130049e0fd878549f84
34
36
35
37
after_success :
36
- - if [ "$INSTALL_HIREDIS" = "yes" ]; then cat ./coverage/lcov.info | ./node_modules/.bin/codeclimate -test-reporter; fi
38
+ - if [ "$INSTALL_HIREDIS" = "yes" ]; then ./cc -test-reporter after-build --exit-code $TRAVIS_TEST_RESULT ; fi
You can’t perform that action at this time.
0 commit comments