Install cmake 3.3 on travis before test runs

This commit is contained in:
Sebastian Messmer 2016-01-15 13:44:01 +01:00
parent 4335416291
commit 3aca70a75c

View File

@ -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