sudo: false language: python install: - pip install tox script: - tox matrix: include: - python: 2.7 env: TOXENV=py27-coverage - python: 3.5 env: TOXENV=py35-coverage - python: 3.6 env: TOXENV=py36-coverage - python: 3.7 env: TOXENV=py37-coverage - python: 3.8 env: TOXENV=py38-coverage - python: pypy env: TOXENV=pypy-coverage after_success: - | flags=${TOXENV%-coverage} if [[ "$flags" != "$TOXENV" ]]; then .tox/$TOXENV/bin/coverage xml bash <(curl -s https://codecov.io/bash) -Z -X gcov -X search -X xcode -X fix -X coveragepy -f coverage.xml -F "$flags" fi