# HG changeset patch # User Vittorio Giovara # Date 1388757498 28800 # Node ID ca90e470333bceb7dca3da3ef8b00aa746ccaa76 # Parent fa93fbd543b44cf8a6f54358826517305148016a# Parent 67c9bd84f941d46f885ae82aba9181f21b8f38b6 Merge pull request #6 from LocutusOfBorg/added-travis Added simple travis file for automated github testing diff -r fa93fbd543b4 -r ca90e470333b .travis.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.travis.yml Fri Jan 03 05:58:18 2014 -0800 @@ -0,0 +1,28 @@ +language: c +branches: + except: + gh-pages +compiler: + - gcc + - clang +env: + # Default build. Release. + - BUILD_ARGS="" + # Debug build + - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Debug" + # Everything that's optional + - BUILD_ARGS="-DNOSERVER=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 +notifications: + irc: + channels: + - "irc.freenode.net#hedgewars" + use_notice: false + skip_join: true