2015-12-08 21:39:33 +00:00
|
|
|
sudo: false
|
|
|
|
language: cpp
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
2016-01-17 19:05:02 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2015-12-08 21:39:33 +00:00
|
|
|
env:
|
2016-01-17 12:36:40 +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-08 21:39:33 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-01-17 07:27:17 +00:00
|
|
|
- liblua5.1-0-dev
|
|
|
|
- liblua5.1-0-dbg
|
|
|
|
- liblua5.2-0-dev
|
|
|
|
- liblua5.2-0-dbg
|
2015-12-08 21:39:33 +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-17 12:36:40 +00:00
|
|
|
- cmake -Hcode -Bbuild $CMAKE_CONFIGURE_OPTIONS
|
|
|
|
- cat build/CMakeCache.txt
|
2015-12-08 21:39:33 +00:00
|
|
|
|
|
|
|
script:
|
2016-01-17 12:36:40 +00:00
|
|
|
- cmake --build build $CMAKE_BUILD_OPTIONS
|
|
|
|
- $RUN
|
2016-01-09 18:42:01 +00:00
|
|
|
|
|
|
|
notifications:
|
2016-01-16 18:37:28 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
2016-01-17 07:27:17 +00:00
|
|
|
- $NOTIFICATION_IRC_CHANNEL
|
2016-01-10 11:12:19 +00:00
|
|
|
template:
|
|
|
|
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
|
|
|
|
- "Description : %{commit_message}"
|
|
|
|
- "Change view : %{compare_url}"
|
|
|
|
- "Build details : %{build_url}"
|