diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/travis-test.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/travis-test.sh b/tools/travis-test.sh index 2eef17d41..91c871560 100755 --- a/tools/travis-test.sh +++ b/tools/travis-test.sh @@ -21,6 +21,11 @@ if [ -n "$PYTHON_OO" ]; then PYTHON="${PYTHON} -OO" fi + +if [ -n "$PY3_COMPATIBILITY_CHECK" ]; then + PYTHON="${PYTHON} -3" +fi + # make some warnings fatal, mostly to match windows compilers werrors="-Werror=declaration-after-statement -Werror=vla " werrors+="-Werror=nonnull -Werror=pointer-arith" |