add gcc5 support
This commit is contained in:
parent
fff1c65854
commit
c1ea6a47a5
12
.travis.yml
12
.travis.yml
|
|
@ -28,6 +28,14 @@ matrix:
|
||||||
# Linux / GCC
|
# Linux / GCC
|
||||||
################
|
################
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
compiler: gcc
|
||||||
|
env:
|
||||||
|
- COMPILER_PACKAGE=g++-5
|
||||||
|
- C_COMPILER=gcc-5
|
||||||
|
- CXX_COMPILER=g++-5
|
||||||
|
- CXXFLAGS=-std=c++11
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
env:
|
env:
|
||||||
- COMPILER_PACKAGE=g++-6
|
- COMPILER_PACKAGE=g++-6
|
||||||
|
|
@ -86,6 +94,6 @@ script:
|
||||||
export CC=/usr/bin/$C_COMPILER &&
|
export CC=/usr/bin/$C_COMPILER &&
|
||||||
export CXX=/usr/bin/$CXX_COMPILER &&
|
export CXX=/usr/bin/$CXX_COMPILER &&
|
||||||
mkdir build.release && cd build.release &&
|
mkdir build.release && cd build.release &&
|
||||||
cmake .. ${CMAKE_OPTIONS} -DAMQP-CPP_BUILD_EXAMPLES=ON -DAMQP-CPP_LINUX_TCP=ON -GNinja &&
|
cmake ${CMAKE_OPTIONS} -DAMQP-CPP_BUILD_EXAMPLES=ON -DAMQP-CPP_LINUX_TCP=ON -GNinja .. &&
|
||||||
cmake --build . --config Release &&
|
cmake --config Release --build . &&
|
||||||
cd .."
|
cd .."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue