.travis.yml: Force C++ standard language version

The xenial Travis-CI environment uses a g++ version that is old enough
that it doesn't use C++11 or newer by default, so we have to force it by
setting CXX to "g++ -std=c++11".
This commit is contained in:
Robert Edmonds 2018-08-13 20:24:05 -04:00
parent 3b7ba77c4d
commit 0585e053a8

View File

@ -13,6 +13,7 @@ addons:
env: env:
global: global:
- CXX="g++ -std=c++11"
- PROTOBUF_VERSION=3.6.1 - PROTOBUF_VERSION=3.6.1
- PKG_CONFIG_PATH=$HOME/protobuf-$PROTOBUF_VERSION-bin/lib/pkgconfig - PKG_CONFIG_PATH=$HOME/protobuf-$PROTOBUF_VERSION-bin/lib/pkgconfig