Update Travis to only send coverage reports to codecov *once*

This commit is contained in:
Tim Donohue
2020-11-06 12:20:25 -06:00
parent b10b972da3
commit 9b7eac625c

View File

@@ -62,5 +62,6 @@ after_script:
# After a successful build and test (see 'script'), send code coverage reports to codecov.io # 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 # 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: after_success:
- codecov - if [ "$TRAVIS_NODE_VERSION" = "12" ]; then codecov; fi