File tree Expand file tree Collapse file tree 4 files changed +352
-11
lines changed
Expand file tree Collapse file tree 4 files changed +352
-11
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ node_modules
22npm-debug.log
33yarn.lock
44coverage
5- cc-test-reporter
65
76# Editor and other tmp files
87* .swp
Original file line number Diff line number Diff line change 11language : node_js
22node_js :
33 - " node"
4- env :
5- global :
6- - CC_TEST_REPORTER_ID=d957b5ff2f78e200b7cfa4e294ac1fe52c823c7d7c327628f897271dc72a874e
7- - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
8- before_script :
9- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
10- - chmod +x ./cc-test-reporter
114script :
12- - npm test -- --coverage
13- - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
5+ - npm test -- --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
You can’t perform that action at this time.
0 commit comments