aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/upload_coverage.sh
blob: e960907ed8a47b42ea00a9821a73bfbbdafaa94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

set -e
set -x

if [ -n "${TOXENV}" ]; then
    case "${TOXENV}" in
        pypy-nocoverage);;
        pep8);;
        py3pep8);;
        docs);;
        *)
            source ~/.venv/bin/activate
            codecov --env TRAVIS_OS_NAME,TOXENV,OPENSSL
            ;;
    esac
fi