fix overwritten env val about compiler in travis

This commit is contained in:
ToruNiina 2017-05-17 09:47:12 +09:00
parent a93f7c5a4a
commit db247f6496

View File

@ -5,7 +5,7 @@ matrix:
- os: linux
language: cpp
compiler: gcc
env: CXX="g++-5" CC="gcc-5"
env: COMPILER="g++-5"
addons:
apt:
sources:
@ -18,7 +18,7 @@ matrix:
- os: linux
language: cpp
compiler: clang
env: CXX="clang++-3.7" CC="clang-3.7"
env: COMPILER="clang++-3.7"
addons:
apt:
sources:
@ -37,6 +37,6 @@ script:
- mkdir build
- cd build
- git clone https://github.com/toml-lang/toml.git
- cmake ..
- cmake -DCMAKE_CXX_COMPILER=$COMPILER ..
- make
- make test