From d0f3a67c0a8459f3fb4e7e71f31afc6e2b2a004b Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 4 Oct 2019 14:15:52 +0200 Subject: [PATCH] Travis config: Use c99; exclude c90 for nightly CPython --- .travis.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d707d7..d113f42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,14 @@ python: - "nightly" env: - - TEST_USE_CPP=no - CFLAGS="-Werror -Wall -std=c90 -Wno-error=strict-aliasing" - - TEST_USE_CPP=yes - CFLAGS="-Werror -Wall -Wno-error=strict-aliasing" + - TEST_USE_CPP=no CFLAGS="-Werror -Wall -std=c90 -Wno-error=strict-aliasing" + - TEST_USE_CPP=no CFLAGS="-Werror -Wall -std=c99 -Wno-error=strict-aliasing" + - TEST_USE_CPP=yes CFLAGS="-Werror -Wall -Wno-error=strict-aliasing" + +matrix: + exclude: + - python: "nightly" + env: TEST_USE_CPP=no CFLAGS="-Werror -Wall -std=c90 -Wno-error=strict-aliasing" script: make test-python