.travis.yml
changeset 10664 20ec6af4fb87
parent 10559 44095e0a0c1a
child 11343 0bff27d8d18f
equal deleted inserted replaced
10663:9bbb29d2bd68 10664:20ec6af4fb87
     9   # Default build. Release.
     9   # Default build. Release.
    10   - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Release"
    10   - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Release"
    11   # Debug build
    11   # Debug build
    12   - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Debug"
    12   - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Debug"
    13   # Everything that's optional
    13   # Everything that's optional
       
    14   - BUILD_ARGS="-DBUILD_ENGINE_C=1"
    14   - BUILD_ARGS="-DNOPNG=1"
    15   - BUILD_ARGS="-DNOPNG=1"
    15   - BUILD_ARGS="-DNOVIDEOREC=1"
    16   - BUILD_ARGS="-DNOVIDEOREC=1"
    16   - BUILD_ARGS="-DNOSERVER=1"
    17   - BUILD_ARGS="-DNOSERVER=1"
    17   - BUILD_ARGS="-DLUA_SYSTEM=0"
    18   - BUILD_ARGS="-DLUA_SYSTEM=0"
    18   - BUILD_ARGS="-DPHYSFS_SYSTEM=0"
    19   - BUILD_ARGS="-DPHYSFS_SYSTEM=0"
    19   - BUILD_ARGS="-DGL2=1"
    20   - BUILD_ARGS="-DGL2=1"
    20   - BUILD_ARGS="-DBUILD_ENGINE_C=1"
       
    21 matrix:
    21 matrix:
    22   allow_failures:
    22   allow_failures:
    23     # Failures we expect here
    23     # Failures we expect here
    24 before_install:
    24 before_install:
    25   - sudo apt-get update -qq
    25   - sudo apt-get update -qq
    26   - sudo apt-get install debhelper cmake dpkg-dev libqt4-dev qt4-qmake libphysfs-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev bzip2 ghc libghc-mtl-dev libghc-parsec3-dev libghc-bytestring-show-dev libghc-vector-dev libghc-zlib-dev libghc-random-dev libghc-stm-dev libghc-network-dev libghc-dataenc-dev libghc-hslogger-dev libghc-utf8-string-dev libghc-sha-dev libghc-entropy-dev liblua5.1-0-dev imagemagick fpc fp-compiler fp-units-misc libpng-dev fp-units-gfx libavcodec-dev libavformat-dev freeglut3-dev libglew1.6-dev
    26   - sudo apt-get install debhelper cmake dpkg-dev libqt4-dev qt4-qmake libphysfs-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev bzip2 ghc libghc-mtl-dev libghc-parsec3-dev libghc-bytestring-show-dev libghc-vector-dev libghc-zlib-dev libghc-random-dev libghc-stm-dev libghc-network-dev libghc-dataenc-dev libghc-hslogger-dev libghc-utf8-string-dev libghc-sha-dev libghc-entropy-dev liblua5.1-0-dev imagemagick fpc fp-compiler fp-units-misc libpng-dev fp-units-gfx libavcodec-dev libavformat-dev freeglut3-dev libglew1.6-dev
    27 script: 
    27 script: 
    28   - mkdir build && cd build && cmake $BUILD_ARGS .. && make VERBOSE=1 && make test_verbose
    28   - mkdir build && cd build && cmake $BUILD_ARGS .. && make VERBOSE=1 && make test_verbose
    29 notifications:
    29 notifications:
       
    30   email: false
    30   irc:
    31   irc:
    31     channels:
    32     channels:
    32       - "chat.freenode.net#hedgewars"
    33       - "chat.freenode.net#hedgewars"
    33     template:
    34     template:
    34       - "hw-build #%{build_number} (%{commit} by %{author}): %{message}"
    35       - "hw-build #%{build_number} (%{commit} by %{author}): %{message}"
    35       - "See details at %{build_url}"
    36       - "See details at %{build_url}"
    36   email: false
    37     on_success: change
       
    38     on_failure: always