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
This commit is contained in:
Mikaela Suomalainen 2014-09-21 10:54:03 +03:00 committed by TingPing
parent ce4e129849
commit 25c6638ce4
1 changed files with 6 additions and 2 deletions

View File

@ -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