From bc24424e8fe7bd7175b7fcde96c1b4603ea6539c Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 23 Jul 2015 23:35:02 +0200 Subject: [PATCH] Fix travis.yml --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8dd4019..8982bea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,13 @@ compiler: gcc script: - cmake -DCMAKE_BUILD_TYPE=Debug test/ && make - ./unit/unit --gtest_filter='*.*' + +before_install: + #g++4.8.1 + - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi + - sudo apt-get update -qq + +install: + # g++4.8.1 + - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi