Merge branch 'travis' of https://github.com/shenki/obmc-console
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c58cbf6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+language: c
+
+sudo: required
+dist: trusty
+
+compiler:
+        - clang
+        - gcc
+
+install:
+        - sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
+        - sudo apt-add-repository -y ppa:h-rayflood/llvm
+        - sudo apt-get update && sudo apt-get install -yy gcc-5 clang-3.6
+        - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 50
+        - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.6 50
+        - gcc --version
+        - clang --version
+
+script:
+        - autoreconf -i && ./configure && make
diff --git a/console-server.c b/console-server.c
index f60629c..f8feb52 100644
--- a/console-server.c
+++ b/console-server.c
@@ -491,7 +491,7 @@
 }
 static const struct option options[] = {
 	{ "config",	required_argument,	0, 'c'},
-	{ 0 },
+	{ 0,  0, 0, 0},
 };
 
 int main(int argc, char **argv)