diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..44632af43a --- /dev/null +++ b/.travis.yml @@ -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" \ No newline at end of file diff --git a/Makefile b/Makefile index 63310a8a7e..d54b6bf657 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ 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 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