瀏覽代碼

Another try for Travis Linux :/

Thomas Buck 10 年之前
父節點
當前提交
be703d0bc9
共有 4 個檔案被更改,包括 4 行新增4 行删除
  1. 1
    1
      CMakeLists.txt
  2. 1
    1
      cmake/travis_install_linux.sh
  3. 1
    1
      cmake/travis_script_linux.sh
  4. 1
    1
      cmake/travis_script_mac.sh

+ 1
- 1
CMakeLists.txt 查看文件

@@ -1,4 +1,4 @@
1
-cmake_minimum_required (VERSION 2.8)
1
+cmake_minimum_required (VERSION 2.8.8)
2 2
 project (OpenRaider)
3 3
 
4 4
 # Version Number

+ 1
- 1
cmake/travis_install_linux.sh 查看文件

@@ -1,6 +1,6 @@
1 1
 #!/bin/bash
2 2
 
3
-sudo apt-get -qq -y install libsdl2-dev libsdl2-ttf-dev libalut-dev libpng12-dev zlib1g-dev
3
+sudo apt-get -qq -y install libsdl2-dev libsdl2-ttf-dev libalut-dev libpng12-dev zlib1g-dev cmake
4 4
 if [ "$CC" = "gcc" ]; then sudo apt-get install gcc-4.8; fi
5 5
 if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
6 6
 

+ 1
- 1
cmake/travis_script_linux.sh 查看文件

@@ -3,5 +3,5 @@
3 3
 if [ "$CC" = "gcc" ]; then export CC="gcc-4.8"; fi
4 4
 if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
5 5
 
6
-mkdir build && cd build && cmake .. && make
6
+mkdir build && cd build && cmake .. && make && make check
7 7
 

+ 1
- 1
cmake/travis_script_mac.sh 查看文件

@@ -1,4 +1,4 @@
1 1
 #!/bin/bash
2 2
 
3
-mkdir build && cd build && cmake .. && make
3
+mkdir build && cd build && cmake .. && make && make check
4 4
 

Loading…
取消
儲存