From b608efa032ff3aead65fc5ce1455f2aea261eeea Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Wed, 30 Mar 2016 23:11:41 +0200 Subject: [PATCH] Try to use newer compiler on travis for C++11 --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 21ae5587..75c85280 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,16 @@ os: compiler: - gcc - clang +install: +- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-4.8 + - g++-4.8 + - clang branches: only: - master