mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 13:31:02 +08:00
.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:
parent
3b7ba77c4d
commit
0585e053a8
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user