diff options
author | Olly Betts <olly@survex.com> | 2021-04-19 11:41:42 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2021-04-19 11:41:42 +1200 |
commit | 3f7aed1a170770ae69f561585f6e1ebcf424d16c (patch) | |
tree | 9c10f1efbfe6ed92cd8dfc53ac6af293ae2437c0 /.travis.yml | |
parent | ed86e68fe160b2fe3cffa5f70ac7b8af1fe0cd20 (diff) | |
download | swig-3f7aed1a170770ae69f561585f6e1ebcf424d16c.tar.gz |
[ci] Specify --enable-cpp11-testing directly
Specifying CPP11=1 also passes -std=c++11 to the compiler, which is
really unhelpful here as that disables all GNU extensions which breaks
the PHP C API headers.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 0e7177f21..52949d78c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,27 +3,28 @@ matrix: include: - compiler: gcc os: linux - env: SWIGLANG=php VER=7.0 CPP11=1 + env: SWIGLANG=php VER=7.0 CONFIGOPTS=--enable-cpp11-testing + CPP11=1 dist: xenial - compiler: gcc os: linux - env: SWIGLANG=php VER=7.1 CPP11=1 + env: SWIGLANG=php VER=7.1 CONFIGOPTS=--enable-cpp11-testing dist: xenial - compiler: gcc os: linux - env: SWIGLANG=php VER=7.2 CPP11=1 + env: SWIGLANG=php VER=7.2 CONFIGOPTS=--enable-cpp11-testing dist: xenial - compiler: gcc os: linux - env: SWIGLANG=php VER=7.3 CPP11=1 + env: SWIGLANG=php VER=7.3 CONFIGOPTS=--enable-cpp11-testing dist: xenial - compiler: gcc os: linux - env: SWIGLANG=php VER=7.4 CPP11=1 + env: SWIGLANG=php VER=7.4 CONFIGOPTS=--enable-cpp11-testing dist: xenial - compiler: gcc os: linux - env: SWIGLANG=php VER=8.0 CPP11=1 + env: SWIGLANG=php VER=8.0 CONFIGOPTS=--enable-cpp11-testing dist: xenial before_install: |