Switch to using Codecov bash script instead of node module to upload reports

This commit is contained in:
Tim Donohue
2020-11-10 12:26:34 -06:00
parent 9fc732085e
commit ff173f1f0f

View File

@@ -61,7 +61,6 @@ after_script:
- docker-compose -f ./docker/docker-compose-travis.yml down
# After a successful build and test (see 'script'), send code coverage reports to codecov.io
# These code coverage reports are generated by the codecov node module in our package.json
# NOTE: As there's no need to send coverage multiple times, we only run this for one version of node.
after_success:
- if [ "$TRAVIS_NODE_VERSION" = "12" ]; then codecov; fi
- if [ "$TRAVIS_NODE_VERSION" = "12" ]; then bash <(curl -s https://codecov.io/bash); fi