From 3f7aed1a170770ae69f561585f6e1ebcf424d16c Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Mon, 19 Apr 2021 11:41:42 +1200 Subject: [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. --- .travis.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to '.travis.yml') 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: -- cgit v1.2.1