Add .travis.yml file
authorRan Benita <ran234@gmail.com>
Sun, 6 Apr 2014 13:37:04 +0000 (16:37 +0300)
committerRan Benita <ran234@gmail.com>
Sun, 6 Apr 2014 14:20:04 +0000 (17:20 +0300)
This CI service https://travis-ci.org/ builds the project in several
configurations, runs the tests, and if something fails it sends an email.
Testing on some other systems is always good, and there don't seem to
be any drawbacks to this, so why not.

Signed-off-by: Ran Benita <ran234@gmail.com>
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..88dd261
--- /dev/null
@@ -0,0 +1,12 @@
+language: c
+
+before_install:
+    - sudo apt-get update -qq
+    - sudo apt-get install xutils-dev
+
+compiler:
+    - gcc
+    - clang
+
+# libxcb too old -- should enable when possible.
+script: ./autogen.sh --disable-x11 && make && make check