From 3aca70a75c57af7a47fbc4fa241bc84c93a45035 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Fri, 15 Jan 2016 13:44:01 +0100 Subject: [PATCH] Install cmake 3.3 on travis before test runs --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9f2afead..31d3b590 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,10 @@ install: # This is needed for packaging 7z distribution packages - sudo apt-get install software-properties-common && sudo add-apt-repository ppa:george-edison55/precise-backports -y && sudo apt-get update - sudo apt-get install cmake cmake-data rpm +# CryFS needs cmake >= 3.3, install it. +- wget --no-check-certificates https://cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz + && tar -xf cmake-3.3.2-Linux-x86_64.tar.gz + && cp -R cmake-3.3.2-Linux-x86_64/* /usr - cmake --version # Use /dev/urandom when /dev/random is accessed, because travis doesn't have enough entropy - sudo cp -a /dev/urandom /dev/random