mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-12-24 02:11:03 +00:00
fix overwritten env val about compiler in travis
This commit is contained in:
parent
a93f7c5a4a
commit
db247f6496
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user