.travis.yml
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Mon, 05 Jan 2015 13:28:13 +0100
changeset 10725 b01835e9339d
parent 10559 44095e0a0c1a
child 10664 20ec6af4fb87
permissions -rw-r--r--
Find lua 5.1 on fedora machines (taken from fedora hw git)

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="-DNOPNG=1"
  - BUILD_ARGS="-DNOVIDEOREC=1"
  - BUILD_ARGS="-DNOSERVER=1"
  - BUILD_ARGS="-DLUA_SYSTEM=0"
  - BUILD_ARGS="-DPHYSFS_SYSTEM=0"
  - BUILD_ARGS="-DGL2=1"
  - BUILD_ARGS="-DBUILD_ENGINE_C=1"
matrix:
  allow_failures:
    # Failures we expect here
before_install:
  - sudo apt-get update -qq
  - 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
script: 
  - mkdir build && cd build && cmake $BUILD_ARGS .. && make VERBOSE=1 && make test_verbose
notifications:
  irc:
    channels:
      - "chat.freenode.net#hedgewars"
    template:
      - "hw-build #%{build_number} (%{commit} by %{author}): %{message}"
      - "See details at %{build_url}"
  email: false