Merge pull request #2589 from Mailaender/travis

Travis CI support
This commit is contained in:
Chris Forbes
2013-03-09 21:11:54 -08:00
2 changed files with 23 additions and 1 deletions

22
.travis.yml Normal file
View File

@@ -0,0 +1,22 @@
# Travis-CI Build for OpenRA
# see travis-ci.org for details
# Mono/.NET are not officially supported. The following is a workaround.
language: c
# Make sure build dependencies are installed.
install:
- sudo apt-get install mono-gmcs cli-common-dev libgl1-mesa-dev libsdl1.2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libopenal-dev libalut-dev
# Run the build script which will automatically call RALint.
script:
- make all
# Only watch the development branch.
branches:
only:
- bleed
# Notify developers when needed.
notifications:
irc: "irc.freenode.net#openra"

View File

@@ -1,5 +1,5 @@
CSC = gmcs CSC = gmcs
CSFLAGS = -nologo -warn:4 -debug:full -optimize- -codepage:utf8 -unsafe CSFLAGS = -nologo -warn:4 -debug:full -optimize- -codepage:utf8 -unsafe -warnaserror
DEFINE = DEBUG;TRACE DEFINE = DEBUG;TRACE
COMMON_LIBS = System.dll System.Core.dll System.Drawing.dll System.Xml.dll thirdparty/ICSharpCode.SharpZipLib.dll thirdparty/FuzzyLogicLibrary.dll COMMON_LIBS = System.dll System.Core.dll System.Drawing.dll System.Xml.dll thirdparty/ICSharpCode.SharpZipLib.dll thirdparty/FuzzyLogicLibrary.dll
PHONY = core tools package all mods clean distclean PHONY = core tools package all mods clean distclean