build: initial attempt to support Travis CI
authorNicola Fontana <ntd@entidi.it>
Mon, 6 Jan 2014 15:38:20 +0000 (6 16:38 +0100)
committerNicola Fontana <ntd@entidi.it>
Mon, 6 Jan 2014 15:38:20 +0000 (6 16:38 +0100)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..9458407
--- /dev/null
@@ -0,0 +1,25 @@
+language: c
+
+compiler:
+    - clang
+    - gcc
+
+before_install:
+    - sudo apt-get update -qq
+
+install:
+    - sudo apt-get -qq install libcairo2-dev libcairo-gobject2 gtk-doc-tools
+
+before_script:
+    - ./autogen.sh && mkdir -p linux && cd linux
+
+script:
+    - ../configure && make check
+
+after_script:
+    - cd ..
+
+notifications:
+    email:
+        recipients:
+            - ntd@entidi.it