mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-07 23:09:21 +01:00
py3: get rid of py2 on CI scripts
This commit is contained in:
@@ -12,12 +12,7 @@ else
|
||||
fi
|
||||
|
||||
py_ver="$(python -c 'import sys; print(sys.version[0])')"
|
||||
if [[ -n "$PY2" ]]; then
|
||||
if [[ "$py_ver" != "2" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
if [[ "$py_ver" != "3" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$py_ver" != 3 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user