Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit 5b73464

Browse files
DaanDeMeyerjacobdufault
authored andcommitted
Set CC explicitly in travis to avoid using different compilers for C and C++ files
1 parent 76ec316 commit 5b73464

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@ matrix:
2828
fast_finish: true
2929
include:
3030
- os: linux
31-
env: CXX=g++-5
31+
env: CC=gcc-5 CXX=g++-5
3232
addons:
3333
apt:
3434
sources: *sources
3535
packages:
3636
- g++-5
3737

3838
- os: linux
39-
env: CXX=g++-7
39+
env: CC=gcc-7 CXX=g++-7
4040
addons:
4141
apt:
4242
sources: *sources
4343
packages:
4444
- g++-7
4545

4646
- os: linux
47-
env: CXX=clang++-3.6
47+
env: CC=clang-3.6 CXX=clang++-3.6
4848
addons:
4949
apt:
5050
sources: *sources
@@ -53,7 +53,7 @@ matrix:
5353
- g++-5
5454

5555
- os: linux
56-
env: CXX=clang++-6.0
56+
env: CC=clang-6.0 CXX=clang++-6.0
5757
addons:
5858
apt:
5959
sources: *sources
@@ -63,7 +63,7 @@ matrix:
6363

6464
- os: osx
6565
osx_image: xcode9.2
66-
env: CXX=clang++
66+
env: CC=clang CXX=clang++
6767

6868
before_install:
6969
- git submodule update --init

0 commit comments

Comments
 (0)