File tree 4 files changed +352
-11
lines changed
4 files changed +352
-11
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ node_modules
2
2
npm-debug.log
3
3
yarn.lock
4
4
coverage
5
- cc-test-reporter
6
5
7
6
# Editor and other tmp files
8
7
* .swp
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
3
- " 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
11
4
script :
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