[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.
This commit is contained in:
Olly Betts 2021-04-19 11:41:42 +12:00
commit 3f7aed1a17

View file

@ -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: