From 7989096cc22ac0edd8ec77cb6a3e2e88744c1eb8 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 20 Jun 2015 01:17:44 +0200 Subject: [PATCH] Travis: install CMake 3+ (for newer FindLua) --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7d760544..cded0d7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,6 +85,11 @@ install: # Install ldoc for building docs. - sudo luarocks install ldoc + # Install CMake 3+, via http://www.cmake.org/download/#latest. + - wget http://www.cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.Z + - tar xf cmake-3.2.3-Linux-x86_64.tar.Z + - PATH=$PWD/cmake-3.2.3-Linux-x86_64/bin:$PATH + script: - export CMAKE_ARGS="-DLUA_LIBRARY=${LUALIB} -DLUA_INCLUDE_DIR=/usr/include/lua${LUAPKG}" - - make && sudo make install && awesome --version + - make && sudo env PATH=$PATH make install && awesome --version