Skip to content

Commit f7347e6

Browse files
committed
Run tests of phonenumbers.pb2 as well
1 parent ea3344a commit f7347e6

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ python:
1212
sudo: false
1313
install:
1414
- pip install coveralls
15+
- pip install protobuf
1516
script:
1617
- make -C tools/python test
17-
- if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then cd python && coverage run --source=phonenumbers ./testwrapper.py && coverage report -m && cd ..; fi
18+
- |
19+
if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then
20+
cd python
21+
coverage run --source=phonenumbers ./testwrapper.py
22+
coverage run --source=phonenumbers.pb2 ./testpb2.py
23+
cd ..
24+
fi
1825
after_success:
1926
- cd python && coveralls && cd ..

0 commit comments

Comments
 (0)