travis: upload coverage on python 2

This commit is contained in:
Ruslan Kuprieiev
2018-10-08 03:30:02 +03:00
committed by GitHub
parent 584972ba0a
commit a4f9789aa4
+2 -1
View File
@@ -6,7 +6,8 @@ set -e
python -mtests
if [[ "$TRAVIS_PULL_REQUEST" == "false" && \
"$TRAVIS_SECURE_ENV_VARS" == "true" ]]; then
"$TRAVIS_SECURE_ENV_VARS" == "true" && \
"$(python -c 'import sys; print(sys.version_info[0])')" == '2' ]]; then
codecov
fi