From 25c6638ce4f16f5298c93e1143cde77b636193c5 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 21 Sep 2014 10:54:03 +0300 Subject: [PATCH] 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 --- .travis.yml | 8 ++++++-- 1 file 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