diff --git a/scripts/ci/script.sh b/scripts/ci/script.sh index 39af14f81..5e84e4e17 100644 --- a/scripts/ci/script.sh +++ b/scripts/ci/script.sh @@ -12,5 +12,12 @@ fi if [[ ! -z "$TRAVIS_TAG" ]]; then ./scripts/build_package.sh - ./scripts/build_posix.sh + + PY_VER=$(python -c 'import sys; print(sys.version_info[0:2])') + if [[ $PY_VER == '(3, 7)' ]]; then + ./scripts/build_posix.sh + else + echo "Not building dvc binary package on Python 3.7, since it is "\ + "not supported by PyInstaller yet." + fi fi