From a4c83983464a4e3d559151654fa5453552beadf9 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 30 Dec 2018 12:19:46 +0100 Subject: [PATCH] Travis CI: Test for Python 3 syntax errors and undefined names Catch missing imports and errors like #1520 and #1521 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7654e62177..ebc20e7f1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)