Files
dvc/scripts/ci/script.sh
T
2019-05-20 01:49:00 +03:00

14 lines
247 B
Bash

#!/bin/bash
set -x
set -e
python -mtests
if [[ "$TRAVIS_PULL_REQUEST" == "false" && \
"$TRAVIS_SECURE_ENV_VARS" == "true" && \
"$(python -c 'import sys; print(sys.version_info[0])')" == '2' ]]; then
pip install codecov
codecov
fi