update travis cmake

This commit is contained in:
2018-12-23 09:22:27 +07:00
parent 280aa5a9f9
commit 352530d3ca
2 changed files with 14 additions and 1 deletions

View File

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

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.9.2 FATAL_ERROR)
cmake_minimum_required(VERSION 3.11 FATAL_ERROR)
project(enduro2d-bootstrap)
#