summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRuediger Meier2014-02-26 17:08:41 +0100
committerRuediger Meier2014-02-26 18:04:13 +0100
commitdac87e44a289cec5139d32366f7a2f68c5278a98 (patch)
tree74b4ffd9e2bdafe283cd84577a6f6d37f64e3b49 /.travis.yml
parentmore: fix double free crash (diff)
downloadkernel-qcow2-util-linux-dac87e44a289cec5139d32366f7a2f68c5278a98.tar.gz
kernel-qcow2-util-linux-dac87e44a289cec5139d32366f7a2f68c5278a98.tar.xz
kernel-qcow2-util-linux-dac87e44a289cec5139d32366f7a2f68c5278a98.zip
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..4b58ca3d5
--- /dev/null
+++ b/.travis.yml
@@ -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