Enable colorized output for gcc

Since we use 4.9 now. Makes reading logs much easier!
This commit is contained in:
Danila Malyutin 2015-07-17 03:25:47 +03:00
parent 8f7e70d959
commit aad97aaea1

View File

@ -41,6 +41,7 @@ before_install:
- if [ "$CXX" = "g++" ]; then - if [ "$CXX" = "g++" ]; then
sudo apt-get install -qq g++-4.9; sudo apt-get install -qq g++-4.9;
export CXX="g++-4.9" CC="gcc-4.9"; export CXX="g++-4.9" CC="gcc-4.9";
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01';
else else
sudo apt-get install -qq --allow-unauthenticated llvm-3.6 llvm-3.6-dev clang-3.6 libstdc++-4.8-dev; sudo apt-get install -qq --allow-unauthenticated llvm-3.6 llvm-3.6-dev clang-3.6 libstdc++-4.8-dev;
export CXX="clang++-3.6" CC="clang-3.6"; export CXX="clang++-3.6" CC="clang-3.6";