Skip to content

Commit

Permalink
NOISSUE travis: use a ppa for cmake 3.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
peterix committed Nov 12, 2015
1 parent 12c7b11 commit d855f49
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions travis/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ then
echo $QT_PKG_PREFIX
sudo add-apt-repository -y ppa:beineri/opt-${QT_WITHOUT_DOTS}
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test # for a recent GCC
sudo add-apt-repository -y ppa:george-edison55/precise-backports # for cmake
sudo add-apt-repository "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main"

sudo apt-get update -qq
sudo apt-get install ${QT_PKG_PREFIX}base ${QT_PKG_PREFIX}svg ${QT_PKG_PREFIX}tools ${QT_PKG_PREFIX}x11extras ${QT_PKG_PREFIX}webkit

sudo mkdir -p /opt/cmake-3/
wget http://www.cmake.org/files/v3.2/cmake-3.2.2-Linux-x86_64.sh
sudo sh cmake-3.2.2-Linux-x86_64.sh --skip-license --prefix=/opt/cmake-3/
sudo apt-get install cmake

export CMAKE_PREFIX_PATH=/opt/$QT_PKG_PREFIX/lib/cmake
export PATH=/opt/cmake-3/bin:/opt/$QT_PKG_PREFIX/bin:$PATH
Expand Down

0 comments on commit d855f49

Please sign in to comment.