Permalink
Browse files

travis-ci: import travis yaml controller

.travis.yml is used for automatic builds on travis build farm
(https://travis-ci.org/) if the travis service hook is enabled for the
repo on github.

This inital yaml controller will run 2 different compilers (gcc, clang).
The test suite currently fails, that's why we don't abort yet.
  • Loading branch information...
rudimeier committed Feb 26, 2014
1 parent 5fdd350 commit dac87e44a289cec5139d32366f7a2f68c5278a98
Showing with 27 additions and 0 deletions.
  1. +27 −0 .travis.yml
View
@@ -0,0 +1,27 @@
+language: c
+
+compiler:
+ - gcc
+ - clang
+
+before_install:
+ - sudo apt-get -qq update
+
+install:
+ - sudo apt-get install -qq autopoint
+ - sudo apt-get install -qq bc
+ - sudo apt-get install -qq gtk-doc-tools
+
+before_script:
+ - ./autogen.sh
+
+script:
+ - ./configure
+ && make
+ && ( make check || echo "non-root checks failed" )
+ && make dist
+
+after_script:
+ - test -d tests/diff
+ && echo "cat test diffs:"
+ && find tests/diff -type f | xargs -r cat

0 comments on commit dac87e4

Please sign in to comment.