From 71463c132559fd4956abb84f4b85e321f342b2e2 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 22 Dec 2015 17:16:55 -0800 Subject: [PATCH] avoid travis overwriting CC --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 93f36c2f..1c9ac901 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ matrix: include: - os: linux compiler: gcc - env: COVERAGE=gcov-4.9 CXX=g++-4.9 CC=gcc-4.9 + env: COVERAGE=gcov-4.9 addons: apt: sources: ['ubuntu-toolchain-r-test'] @@ -23,6 +23,8 @@ matrix: install: - if [[ $(uname -s) == 'Darwin' ]]; then brew install protobuf; fi; - if [ -n "${COVERAGE}" ]; then + export CXX=g++-4.9; + export CC=gcc-4.9; export CXXFLAGS="--coverage -g"; export CFLAGS="--coverage -g"; export LDFLAGS="--coverage";