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:
|
2017-12-02 15:49:48 +00:00
|
|
|
- CMAKE_CONFIGURE_OPTIONS="-DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=OFF -DWITH_LUA51=ON -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_NEL_TOOLS=OFF"
|
2016-01-17 12:36:40 +00:00
|
|
|
- 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-12-18 13:04:35 +00:00
|
|
|
- liblua5.1-dev
|
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}"
|