diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2015-09-04 10:12:49 +0200 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2015-09-04 10:12:49 +0200 |
commit | 4cb0edd7782659eddb5dd3791a330ff117799be5 (patch) | |
tree | a361c4a47f41ca877ee6051f89ab76992581a539 /travis.sh | |
parent | 63eca470fd1a8372bab3710dde5bb2a41ee91219 (diff) | |
parent | d9598ca55db13bcbc8c748ed7a517f12a069962a (diff) | |
download | protobuf-4cb0edd7782659eddb5dd3791a330ff117799be5.tar.gz protobuf-4cb0edd7782659eddb5dd3791a330ff117799be5.tar.bz2 protobuf-4cb0edd7782659eddb5dd3791a330ff117799be5.zip |
Merge pull request #772 from dano/fix_scalar_map
Fix Python 3.4 cpp implementation
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -113,12 +113,14 @@ build_javanano_oracle7() { internal_install_python_deps() { sudo pip install tox - # Only install Python2.6 on Linux. + # Only install Python2.6/3.x on Linux. if [ $(uname -s) == "Linux" ]; then sudo apt-get install -y python-software-properties # for apt-add-repository sudo apt-add-repository -y ppa:fkrull/deadsnakes sudo apt-get update -qq sudo apt-get install -y python2.6 python2.6-dev + sudo apt-get install -y python3.3 python3.3-dev + sudo apt-get install -y python3.4 python3.4-dev fi } @@ -127,9 +129,9 @@ build_python() { internal_build_cpp internal_install_python_deps cd python - # Only test Python 2.6 on Linux + # Only test Python 2.6/3.x on Linux if [ $(uname -s) == "Linux" ]; then - envlist=py26-python,py27-python + envlist=py\{26,27,33,34\}-python else envlist=py27-python fi @@ -143,9 +145,9 @@ build_python_cpp() { export LD_LIBRARY_PATH=../src/.libs # for Linux export DYLD_LIBRARY_PATH=../src/.libs # for OS X cd python - # Only test Python 2.6 on Linux + # Only test Python 2.6/3.x on Linux if [ $(uname -s) == "Linux" ]; then - envlist=py26-cpp,py27-cpp + envlist=py\{26,27,33,34\}-cpp else envlist=py27-cpp fi |