Skip to content

Commit

Permalink
Travis CI: Test for Python 3 syntax errors and undefined names
Browse files Browse the repository at this point in the history
Catch missing imports and errors like google#1520 and google#1521
  • Loading branch information
cclauss committed Dec 30, 2018
1 parent e8d20c5 commit a4c8398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ matrix:
- os: osx
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
if: type != pull_request
- language: python # stop the build on Python 3 syntax errors or undefined names
- language: python # stop the build on Python3 syntax errors or undefined names
python: 3.7
addons: true
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
Expand Down

0 comments on commit a4c8398

Please sign in to comment.