enable coverage for master only

This commit is contained in:
Nikolay Kim 2017-11-27 11:19:22 -08:00
parent 6a31a4cbb7
commit 653f081d65
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ after_success:
echo "Uploaded documentation"
fi
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz &&
cd kcov-master &&