From f235f97d95ea70c24a3a1d856016614e84f5898b Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Sat, 21 Feb 2015 19:20:18 -0800 Subject: [PATCH] Install g++-4.8 before installing llvm 3.5 --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index b767cf09..e0576367 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,10 @@ before_script: - sudo apt-get update -qq - sudo apt-get install -y python-software-properties - sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/ppa + - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y + - sudo apt-get update -qq + - sudo apt-get install -qq g++-4.8 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 - echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main" | sudo tee --append /etc/apt/sources.list - echo "deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main" | sudo tee --append /etc/apt/sources.list - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -