Skip to content

Commit

Permalink
Added python tests to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Feb 28, 2015
1 parent 21bcda3 commit b7063f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions tools/run_tests/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/run_tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_specs(self, config, travis):
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']]
Expand Down

0 comments on commit b7063f1

Please sign in to comment.