]> git.sur5r.net Git - i3/i3status/blobdiff - .travis.yml
Added function to print content from file (#331)
[i3/i3status] / .travis.yml
index fc58769edf7161955829bed9434a7c1a0774b5ae..7ceaddffdf6c2ee646800712c109422d00e35948 100644 (file)
@@ -17,9 +17,10 @@ addons:
     # xmlto pulls in a2x which we need for generating manpages from asciidoc.
     - xmlto
     - libcap2-bin
-    - clang-format-3.5
+    - clang-format-3.8
     - libllvm3.5
 script:
-  - make -j
-  - clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
-  - ./travis/run-tests.pl
+  - clang-format-3.8 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
+  # TODO: re-enable sanitizers once issues are fixed
+  - autoreconf -fi && mkdir -p build && cd build && (../configure --disable-sanitizers || (cat config.log; false)) && make -j V=1
+  - make -j check V=1 || (cat test-suite.log; false)