diff --git a/.travis.yml b/.travis.yml index f1a319f..a874390 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,13 @@ before_install: - eval "${MATRIX_EVAL}" install: + - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" + - mkdir ${DEPS_DIR} && cd ${DEPS_DIR} + - travis_retry wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.18.2/cmake-3.18.2-Linux-x86_64.tar.gz + - tar -xvf cmake-3.18.2-Linux-x86_64.tar.gz > /dev/null + - mv cmake-3.18.2-Linux-x86_64 cmake-install + - PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH + - cd ${TRAVIS_BUILD_DIR} - THIRD_PARTY=$HOME/third_party - THIRD_PARTY_PREFIX=$THIRD_PARTY/install - | diff --git a/CMakeLists.txt b/CMakeLists.txt index 6793ed2..468d057 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8.0) +cmake_minimum_required(VERSION 3.12.0) project(libzippp VERSION 3.0.0)