Updated tests.sh to remove testing of old Python.

pull/8961/head
Joshua Haberman 4 years ago
parent 359594f4bb
commit e5775e4fb6
  1. 16
      tests.sh

@ -312,9 +312,9 @@ build_python() {
internal_build_cpp internal_build_cpp
cd python cd python
if [ $(uname -s) == "Linux" ]; then if [ $(uname -s) == "Linux" ]; then
envlist=py\{27,33,34,35,36\}-python envlist=py\{35,36\}-python
else else
envlist=py\{27,36\}-python envlist=py\{36\}-python
fi fi
python -m tox -e $envlist python -m tox -e $envlist
cd .. cd ..
@ -328,10 +328,6 @@ build_python_version() {
cd .. cd ..
} }
build_python27() {
build_python_version py27-python
}
build_python33() { build_python33() {
build_python_version py33-python build_python_version py33-python
} }
@ -366,9 +362,9 @@ build_python_cpp() {
export DYLD_LIBRARY_PATH=../src/.libs # for OS X export DYLD_LIBRARY_PATH=../src/.libs # for OS X
cd python cd python
if [ $(uname -s) == "Linux" ]; then if [ $(uname -s) == "Linux" ]; then
envlist=py\{27,33,34,35,36\}-cpp envlist=py\{35,36\}-cpp
else else
envlist=py\{27,36\}-cpp envlist=py\{36\}-cpp
fi fi
tox -e $envlist tox -e $envlist
cd .. cd ..
@ -384,10 +380,6 @@ build_python_cpp_version() {
cd .. cd ..
} }
build_python27_cpp() {
build_python_cpp_version py27-cpp
}
build_python33_cpp() { build_python33_cpp() {
build_python_cpp_version py33-cpp build_python_cpp_version py33-cpp
} }

Loading…
Cancel
Save