Added compiler name to Travis configuration.

This commit is contained in:
Patrick Lühne 2016-10-10 20:56:09 +02:00
parent 4a422795d9
commit 0b94e315b4

View File

@ -13,7 +13,7 @@ addons:
- libboost-filesystem1.55-dev - libboost-filesystem1.55-dev
matrix: matrix:
include: include:
- env: COMPILER=g++-5 - env: COMPILER_NAME=g++ _CXX=g++-5
os: linux os: linux
language: cpp language: cpp
addons: addons:
@ -23,7 +23,7 @@ matrix:
packages: packages:
- *default_packages - *default_packages
- g++-5 - g++-5
- env: COMPILER=g++-6 - env: COMPILER_NAME=g++ _CXX=g++-6
os: linux os: linux
language: cpp language: cpp
addons: addons:
@ -38,5 +38,5 @@ script:
- git submodule update - git submodule update
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER - cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$_CXX
- make -j3 && make -j3 run-tests - make -j3 && make -j3 run-tests