Fixes
[ryzomcore.git] / .travis.yml
blob94d2596185d669fb8b7f077c90832d4341745ffc
1 sudo: false
2 language: cpp
4 compiler:
5     - gcc
7 os:
8     - linux
9 matrix:
10     fast_finish: true
11 env:
12     - CMAKE_CONFIGURE_OPTIONS="-DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=ON -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_NEL_TOOLS=OFF"
13     - CMAKE_CONFIGURE_OPTIONS="-DCPPTEST_LIBRARY_DEBUG:STRING=/usr/lib/libcpptest.so"
14       CMAKE_BUILD_OPTIONS="--target nel_unit_test -- -j 2"
15       RUN="build/bin/nel_unit_test"
17 addons:
18     apt:
19         packages:
20             - liblua5.1-dev
21             - libluabind-dev
22             - libcpptest-dev
23             - libogg-dev
24             - libvorbis-dev
25             - libopenal-dev
26             - libgif-dev
27             - libfreetype6-dev
28             - libxml2-dev
30 before_script:
31     - mkdir build
32     - cmake --version
33     - cmake -H. -Bbuild $CMAKE_CONFIGURE_OPTIONS
34     - cat build/CMakeCache.txt
36 script:
37     - cmake --build build $CMAKE_BUILD_OPTIONS
38     - $RUN
40 notifications:
41   irc:
42     channels:
43       - $NOTIFICATION_IRC_CHANNEL
44     template:
45       - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
46       - "Description : %{commit_message}"
47       - "Change view : %{compare_url}"
48       - "Build details : %{build_url}"