travis: use ninja

develop
lethosor 2018-07-17 11:49:15 -04:00
parent 4070b5235e
commit 1ebac6fad9
1 changed files with 2 additions and 1 deletions

@ -13,6 +13,7 @@ addons:
- libsdl1.2-dev - libsdl1.2-dev
- libxml-libxml-perl - libxml-libxml-perl
- libxml-libxslt-perl - libxml-libxslt-perl
- ninja-build
- zlib1g-dev - zlib1g-dev
matrix: matrix:
include: include:
@ -46,7 +47,7 @@ script:
- mkdir build-travis - mkdir build-travis
- cd build-travis - cd build-travis
- cmake .. -DCMAKE_C_COMPILER=gcc-$GCC_VERSION -DCMAKE_CXX_COMPILER=g++-$GCC_VERSION -DDFHACK_BUILD_ARCH=64 -DBUILD_DOCS:BOOL=ON -DCMAKE_INSTALL_PREFIX="$DF_FOLDER" - cmake .. -DCMAKE_C_COMPILER=gcc-$GCC_VERSION -DCMAKE_CXX_COMPILER=g++-$GCC_VERSION -DDFHACK_BUILD_ARCH=64 -DBUILD_DOCS:BOOL=ON -DCMAKE_INSTALL_PREFIX="$DF_FOLDER"
- make -j3 install - ninja -j3 install
- mv "$DF_FOLDER"/dfhack.init-example "$DF_FOLDER"/dfhack.init - mv "$DF_FOLDER"/dfhack.init-example "$DF_FOLDER"/dfhack.init
- cd .. - cd ..
- cp travis/dfhack_travis.init "$DF_FOLDER"/ - cp travis/dfhack_travis.init "$DF_FOLDER"/