.travis.yml
author nemo
Tue, 07 Jan 2014 13:56:03 -0500
changeset 9951 b776cd642d0b
parent 9947 ff4e56775e9c
child 10003 4133ba836ee6
permissions -rw-r--r--
pick random x/y prior to addgear (as generic faller does) to avoid random numbers picked out of order

language: c
branches:
  except:
    gh-pages
compiler:
  - gcc
  - clang
env:
  # Default build. Release.
  - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Release"
  # Debug build
  - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Debug"
  # Everything that's optional
  - BUILD_ARGS="-NOPNG=1"
  - BUILD_ARGS="-NOVIDEOREC=1"
  - BUILD_ARGS="-NOSERVER=1"
  - BUILD_ARGS="-LUA_SYSTEM=0"
matrix:
  allow_failures:
    # Failures we expect here
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install debhelper cmake dpkg-dev libqt4-dev fp-compiler libsdl1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev bzip2 fp-units-gfx ghc libghc-stm-dev libghc-network-dev libghc-dataenc-dev libghc-hslogger-dev libghc-utf8-string-dev liblua5.1-0-dev imagemagick libghc-bytestring-show-dev fpc libpng-dev libavcodec-dev libavformat-dev freeglut3-dev libghc-mtl-dev libghc-parsec3-dev libghc-vector-dev qt4-qmake fp-units-misc libghc-random-dev
script: 
  - mkdir build && cd build && cmake $BUILD_ARGS .. && make VERBOSE=1
notifications:
  irc:
    channels:
      - "chat.freenode.net#hedgewars"
    template:
      - "hw-build #%{build_number} (%{commit} by %{author}): %{message}"
      - "See details at %{build_url}"
  email: false