summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2021-04-19 13:43:35 +1200
committerOlly Betts <olly@survex.com>2021-04-19 13:43:35 +1200
commit8f0f2159d13cf356559f67439c9427ce50cef5eb (patch)
treef71800f552c7cad099ca17e64c9e49c689928a86 /.travis.yml
parentd6f9f4b6c05dec844db5b18a9c4e374174da9df1 (diff)
downloadswig-8f0f2159d13cf356559f67439c9427ce50cef5eb.tar.gz
[ci] Set CPPSTD=c++11 for PHP
Otherwise SWIG defaults to forcing -std=c++98.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 830c18d27..395c942f3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,27 +3,27 @@ matrix:
include:
- compiler: gcc
os: linux
- env: SWIGLANG=php VER=7.0 CONFIGOPTS=--enable-cpp11-testing
+ env: SWIGLANG=php VER=7.0 CONFIGOPTS=--enable-cpp11-testing CPPSTD=gnu++11
dist: bionic
- compiler: gcc
os: linux
- env: SWIGLANG=php VER=7.1 CONFIGOPTS=--enable-cpp11-testing
+ env: SWIGLANG=php VER=7.1 CONFIGOPTS=--enable-cpp11-testing CPPSTD=gnu++11
dist: bionic
- compiler: gcc
os: linux
- env: SWIGLANG=php VER=7.2 CONFIGOPTS=--enable-cpp11-testing
+ env: SWIGLANG=php VER=7.2 CONFIGOPTS=--enable-cpp11-testing CPPSTD=gnu++11
dist: bionic
- compiler: gcc
os: linux
- env: SWIGLANG=php VER=7.3 CONFIGOPTS=--enable-cpp11-testing
+ env: SWIGLANG=php VER=7.3 CONFIGOPTS=--enable-cpp11-testing CPPSTD=gnu++11
dist: bionic
- compiler: gcc
os: linux
- env: SWIGLANG=php VER=7.4 CONFIGOPTS=--enable-cpp11-testing
+ env: SWIGLANG=php VER=7.4 CONFIGOPTS=--enable-cpp11-testing CPPSTD=gnu++11
dist: bionic
- compiler: gcc
os: linux
- env: SWIGLANG=php VER=8.0 CONFIGOPTS=--enable-cpp11-testing
+ env: SWIGLANG=php VER=8.0 CONFIGOPTS=--enable-cpp11-testing CPPSTD=gnu++11
dist: bionic
before_install: