khanat-opennel-code/.travis.yml

54 lines
1.5 KiB
YAML
Raw Normal View History

2015-12-18 12:02:31 +00:00
sudo: false
language: cpp
compiler:
- gcc
os:
- linux
2016-01-18 20:32:01 +00:00
matrix:
fast_finish: true
2015-12-18 12:02:31 +00:00
env:
2016-01-18 20:32:01 +00:00
- CMAKE_CONFIGURE_OPTIONS="-DWITH_NEL_TESTS:BOOL=off -DWITH_LUA51:BOOL=on -DWITH_LUA52:BOOL=off -DWITH_LUA53:BOOL=off"
- CMAKE_CONFIGURE_OPTIONS="-DWITH_NEL_TESTS:BOOL=off -DWITH_LUA51:BOOL=off -DWITH_LUA52:BOOL=on -DWITH_LUA53:BOOL=off"
- CMAKE_CONFIGURE_OPTIONS="-DWITH_NEL_TESTS:BOOL=off -DWITH_LUA51:BOOL=off -DWITH_LUA52:BOOL=off -DWITH_LUA53:BOOL=on"
- CMAKE_CONFIGURE_OPTIONS="-DCPPTEST_LIBRARY_DEBUG:STRING=/usr/lib/libcpptest.so"
CMAKE_BUILD_OPTIONS="--target nel_unit_test -- -j 2"
RUN="build/bin/nel_unit_test"
2015-12-18 12:02:31 +00:00
addons:
apt:
packages:
2016-01-17 12:24:01 +00:00
- liblua5.1-0-dev
- liblua5.1-0-dbg
- liblua5.2-0-dev
- liblua5.2-0-dbg
2015-12-18 12:02:31 +00:00
- libluabind-dev
- libcpptest-dev
- libogg-dev
- libvorbis-dev
- libopenal-dev
- libgif-dev
- libfreetype6-dev
- libxml2-dev
before_script:
- mkdir build
- cmake --version
2016-01-18 20:32:01 +00:00
- cmake -Hcode -Bbuild $CMAKE_CONFIGURE_OPTIONS
- cat build/CMakeCache.txt
2015-12-18 12:02:31 +00:00
script:
2016-01-18 20:32:01 +00:00
- cmake --build build $CMAKE_BUILD_OPTIONS
- $RUN
2016-01-09 18:42:29 +00:00
notifications:
2016-01-16 22:50:23 +00:00
irc:
channels:
2016-01-17 12:24:01 +00:00
- $NOTIFICATION_IRC_CHANNEL
2016-01-10 11:13:59 +00:00
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Description : %{commit_message}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"