py3: get rid of py2 on CI scripts

This commit is contained in:
Mr. Outis
2019-12-30 19:16:10 -06:00
parent d3d6f679be
commit c61254dc75
5 changed files with 19 additions and 53 deletions
+3 -8
View File
@@ -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