Update coverage for nox
MODIFY
_travis/upload_coverage.sh
_travis/upload_coverage.sh
set -exo pipefail
if [[ -e .coverage ]]; then
- source .tox/${TOXENV}/bin/activate
- pip install codecov
- codecov --env TRAVIS_OS_NAME,TOXENV
+ python3 -m pip install codecov
+ codecov --env TRAVIS_OS_NAME,NOX_SESSION
fi

Update coverage for nox (#1596)