mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
14 lines
359 B
Bash
14 lines
359 B
Bash
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
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
|
|
coverage xml
|
|
./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
|
fi
|