running python tests on travis

pull/852/head
Jan Tattermusch 10 years ago
parent 374eadaaee
commit f0a801eb5e
  1. 4
      .travis.yml
  2. 1
      tools/run_tests/build_python.sh

@ -3,6 +3,8 @@ before_install:
- sudo add-apt-repository ppa:yjwong/gflags -y
- sudo apt-get update -qq
- sudo apt-get install -qq libgtest-dev libgflags-dev
script: ./tools/run_tests/run_tests.py -l c c++ -t -j2
script:
- ./tools/run_tests/run_tests.py -l c c++ -t -j2
- ./tools/run_tests/run_tests.py -lpython -t -j1
notifications:
email: false

@ -37,7 +37,6 @@ make -j6
root=`pwd`
virtualenv python2.7_virtual_environment
ln -sf $root/include/grpc python2.7_virtual_environment/include/grpc
source python2.7_virtual_environment/bin/activate
pip install enum34==1.0.4 futures==2.2.0 protobuf==3.0.0-alpha-1
CFLAGS=-I$root/include LDFLAGS=-L$root/libs/opt pip install src/python/src

Loading…
Cancel
Save