From 352530d3caaf490365338277d095cccdd9679862 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Sun, 23 Dec 2018 09:22:27 +0700 Subject: [PATCH] update travis cmake --- .travis.yml | 13 +++++++++++++ CMakeLists.txt | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d55f308..15a009b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,6 +64,19 @@ matrix: compiler: clang before_install: - eval "${MATRIX_EVAL}" + - if [ "$TRAVIS_OS_NAME" == 'osx' ]; then + brew update; + brew upgrade cmake; + brew install git-lfs; + fi + - if [ "$TRAVIS_OS_NAME" == 'linux' ]; then + mkdir $HOME/cmake; + export PATH="$HOME/cmake/bin:$PATH"; + travis_retry wget -q https://cmake.org/files/v3.11/cmake-3.11.4-Linux-x86_64.sh; + sh cmake-3.11.4-Linux-x86_64.sh --prefix=$HOME/cmake --exclude-subdir --skip-license; + fi script: - git submodule update --init --recursive + - git lfs install + - git lfs pull - ./scripts/build_all.sh diff --git a/CMakeLists.txt b/CMakeLists.txt index 95554e9..d39869f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9.2 FATAL_ERROR) +cmake_minimum_required(VERSION 3.11 FATAL_ERROR) project(enduro2d-bootstrap) #