Files
dvc/scripts/ci/before_script.sh
T
Ruslan Kuprieiev 1ce2633704 travis: fixups
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-11 00:28:09 +02:00

15 lines
454 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
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
fi