From e475d0d0b91aea5b0972f1cb1cfbf345f6f82ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Tue, 1 Jan 2013 16:00:58 +0100 Subject: [PATCH 1/2] Added travis script --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml 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 From 0f864c3192a65dd63d997d66f02c7639580b1d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Fri, 18 Jan 2013 00:23:50 +0100 Subject: [PATCH 2/2] treat compiler warnings as errors --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b9e8bb7a8e..a438498c79 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 PHONY = core tools package all mods clean distclean