[gnome-commander/googletest] Upgrades gcc to v4.8 for better C++ support in travis
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/googletest] Upgrades gcc to v4.8 for better C++ support in travis
- Date: Sun, 29 Nov 2015 17:59:27 +0000 (UTC)
commit 7c47b09a3869ed9bb067197358964fbb30857999
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sun Nov 29 18:59:17 2015 +0100
Upgrades gcc to v4.8 for better C++ support in travis
.travis.yml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/.travis.yml b/.travis.yml
index 24cf9b2..5d80168 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,9 +4,12 @@ compiler:
- gcc
before_install:
+ - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
+ - sudo apt-get update -qq
+ - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
+ - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- echo $LANG
- echo $LC_ALL
- - sudo apt-get update -qq
- sudo apt-get install libgtest-dev
- sudo mkdir /usr/src/gtest/build
- cd /usr/src/gtest/build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]