Fix installing cmake on travis

This commit is contained in:
Sebastian Messmer 2016-01-15 15:22:14 +01:00
parent 798f37b7ab
commit 6f98fd6f90

View File

@ -14,7 +14,8 @@ install:
# CryFS needs cmake >= 3.3, install it. # CryFS needs cmake >= 3.3, install it.
- wget --no-check-certificate https://cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz - wget --no-check-certificate 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 && tar -xf cmake-3.3.2-Linux-x86_64.tar.gz
&& cp -R cmake-3.3.2-Linux-x86_64/* /usr && sudo cp -R cmake-3.3.2-Linux-x86_64/* /usr
&& rm -r cmake-3.3.2-Linux-x64_64 cmake-3.3.2-Linux-x86_64.tar.gz
- cmake --version - cmake --version
# Use /dev/urandom when /dev/random is accessed, because travis doesn't have enough entropy # Use /dev/urandom when /dev/random is accessed, because travis doesn't have enough entropy
- sudo cp -a /dev/urandom /dev/random - sudo cp -a /dev/urandom /dev/random