Skip to content

Commit

Permalink
Travis config: Use c99; exclude c90 for nightly CPython
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou committed Oct 4, 2019
1 parent 5884e73 commit d0f3a67
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d0f3a67

Please sign in to comment.