coverage: try using codecov

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-03-22 13:46:52 +02:00
parent 13e0e9d2e4
commit 72da7c9b4e
3 changed files with 9 additions and 12 deletions
+1 -8
View File
@@ -5,14 +5,7 @@ set -e
./unittests.sh
if [[ "$TRAVIS_OS_NAME" == "linux" && \
"$(python -c 'import sys; print(sys.version_info[0])')" == "2" && \
"$TRAVIS_PULL_REQUEST" == "false" && \
"$TRAVIS_BRANCH" == "master" && \
"$TRAVIS_SECURE_ENV_VARS" == "true" ]]; then
cat .coverage
codeclimate-test-reporter --file .coverage --debug --token $CC_TEST_REPORTER_ID
fi
codecov
if [[ ! -z "$TRAVIS_TAG" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then