summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/travis-test.sh5
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"