summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMikaela Suomalainen <mikaela.suomalainen@outlook.com>2014-09-21 10:54:03 +0300
committerTingPing <tingping@tingping.se>2014-09-21 04:31:16 -0400
commit25c6638ce4f16f5298c93e1143cde77b636193c5 (patch)
tree0eb035e0d1e657d1fa7c125df196b8a863fcce3b
parentce4e1298497ee99d117f505b549a259646bc5030 (diff)
travis: Add clang & CPUs & fast_finish
HexChat seems to compile fine with clang so why to not test it too.
-j$(nproc) seems to work with HexChat and fast-finish marks build as
failed if one job fails.

Fast finish won't stop jobs that aren't finished at the time of failure.

Closes #1147
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 8ce5a13b..f5f5d4b7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,7 @@
 language: c
-compiler: gcc
+compiler:
+    - gcc
+    - clang
 before_script:
     - sudo apt-get update
     - sudo apt-get build-dep -qq xchat
@@ -7,9 +9,11 @@ before_script:
 script: 
     - ./autogen.sh
     - ./configure --enable-textfe --with-theme-manager
-    - make V=1
+    - make V=1 -j$(nproc)
 notifications:
     irc:
         channels: "chat.freenode.net#hexchat-devel"
         template: "Build #%{build_number} (%{commit}) by %{author}: %{message}"
         on_success: change
+matrix:
+     fast_finish: true