Skip to content

Commit

Permalink
reverted TravisCI build to use CMake repository and set minimum CMake…
Browse files Browse the repository at this point in the history
… version to 3.0
  • Loading branch information
Chris Liebert committed Sep 12, 2016
1 parent 5a35aad commit 3cba59d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ matrix:
- rust: nightly
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libsqlite3-dev swig2.0 build-essential lua5.2 liblua5.2-dev cmake
- sudo apt-get remove -y cmake
- sudo apt-get install -y libsqlite3-dev swig2.0 build-essential liblua5.2-dev lua5.2
- sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
- sudo apt-get -qq update
- sudo apt-get install -y cmake
script:
- export LUA_INCLUDE_DIR=/usr/include/lua5.2
- export LUA_LIBRARY=/usr/lib/x86_64-linux-gnu/liblua5.2.a
- cargo build
- cargo test
- cd ffi/Lua
- cargo build --verbose
- cargo test
2 changes: 1 addition & 1 deletion ffi/Lua/wrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Copyright (C) 2016 Chris Liebert

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

SET(QUICK3D_LIB_PATH "${CMAKE_CURRENT_SOURCE_DIR}")

Expand Down

0 comments on commit 3cba59d

Please sign in to comment.