From d7bef260b00b49b6c85de00928891fca674526a4 Mon Sep 17 00:00:00 2001 From: dmatetelki Date: Fri, 10 Apr 2015 13:16:10 +0200 Subject: [PATCH] playing with travis, trying to upgrade clangand g++ before compilation. --- .travis.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 189bbf9..b7bfd66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,17 @@ language: cpp compiler: + - clang - gcc before_install: - - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - - sudo apt-get -qq update - - sudo apt-get -qq install g++-4.8 + - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y + - sudo apt-get update -qq + - sudo apt-get install -qq libyajl-dev libxml2-dev libxqilla-dev + - if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev; fi + - 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 + env: - BUILD_TYPE=Debug