Added python tests to .travis.yml

pull/915/head
murgatroid99 10 years ago
parent 21bcda3e1d
commit b7063f1416
  1. 8
      .travis.yml
  2. 2
      tools/run_tests/build_python.sh
  3. 2
      tools/run_tests/run_tests.py

@ -7,13 +7,9 @@ env:
global:
- RUBY_VERSION=2.1
matrix:
- CONFIG=dbg TEST=c
- CONFIG=dbg TEST=c++
- CONFIG=opt TEST=c
- CONFIG=opt TEST=c++
- CONFIG=opt TEST=node
- CONFIG=opt TEST=ruby
- CONFIG=opt TEST=python
script:
- which python
- rvm use $RUBY_VERSION
- gem install bundler
- ./tools/run_tests/run_tests.py -l $TEST -t -j 16 -c $CONFIG -s 2.0

@ -33,8 +33,6 @@ set -ex
# change to grpc repo root
cd $(dirname $0)/../..
make -j6
root=`pwd`
virtualenv python2.7_virtual_environment
source python2.7_virtual_environment/bin/activate

@ -135,7 +135,7 @@ class PythonLanguage(object):
return [config.job_spec('tools/run_tests/run_python.sh', None)]
def make_targets(self):
return[]
return ['static_c']
def build_steps(self):
return [['tools/run_tests/build_python.sh']]

Loading…
Cancel
Save