Update coverage for nox
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
