mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 15:28:27 +01:00
@@ -4,15 +4,15 @@ set -e
|
||||
set -x
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||
where python
|
||||
where pip
|
||||
where python
|
||||
where pip
|
||||
else
|
||||
which python
|
||||
which pip
|
||||
which python
|
||||
which pip
|
||||
fi
|
||||
|
||||
py_ver="$(python -c 'import sys; print(sys.version[0])')"
|
||||
|
||||
if [[ "$py_ver" != 3 ]]; then
|
||||
exit 1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user