diff --git a/.travis.yml b/.travis.yml index 17b8b91..5855d9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ matrix: - g++-4.9 - cmake - cmake-data - env: COMPILER=g++-4.9 + env: CXX_COMPILER=g++-4.9 C_COMPILER=g++-4.9 - compiler: gcc addons: apt: @@ -25,7 +25,7 @@ matrix: - g++-5 - cmake - cmake-data - env: COMPILER=g++-5 + env: CXX_COMPILER=g++-5 C_COMPILER=g++-5 - compiler: clang addons: apt: @@ -37,7 +37,7 @@ matrix: - clang-3.6 - cmake - cmake-data - env: COMPILER=clang++-3.6 + env: CXX_COMPILER=clang++-3.6 C_COMPILER=clang++-3.6 - compiler: clang addons: apt: @@ -49,7 +49,7 @@ matrix: - clang-3.7 - cmake - cmake-data - env: COMPILER=clang++-3.7 + env: CXX_COMPILER=clang++-3.7 C_COMPILER=clang++-3.7 before_install: - sudo apt-get update -qq @@ -57,4 +57,4 @@ before_install: script: - mkdir build - cd build - - cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make -j4 tests && ./tests/tests \ No newline at end of file + - cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER .. && make -j4 tests && ./tests/tests \ No newline at end of file