Files
dvc/scripts/ci/deploy_condition.sh
T
Ruslan Kuprieiev 3c49dfa293 travis: add xcode10.1 build
Related to #1623

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-18 04:03:04 +02:00

18 lines
269 B
Bash
Executable File

#!/bin/bash
set -e
python_ver="$(python -c 'import sys; print(sys.version_info[0])')"
if [[ $python_ver != "2" ]]; then
echo false
exit 0
fi
if [[ $TRAVIS_OS_NAME == "osx" && $TRAVIS_OSX_IMAGE != "xcode10.1" ]]; then
echo false
exit 0
fi
echo true