From 59a2db7217289f6b686c8051c402b0e8e423b27e Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 27 Jan 2016 10:12:25 +0100 Subject: [PATCH] Test build with both GCC and Clang (LLVM) - Test build with both GCC and Clang (LLVM) - Only run Coverity Scan on dev branch, not master Signed-off-by: Joachim Nilsson --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8341bc1..a878a38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,11 @@ language: c # We don't need to install packages, use dockerized build, quicker sudo: false +# Test build with both GCC and Clang (LLVM) +compiler: + - gcc + - clang + env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created @@ -19,7 +24,7 @@ addons: notification_email: troglobit@gmail.com build_command_prepend: "./autogen.sh && ./configure --enable-sigstop --enable-terminal-bell" build_command: "make -j5" - branch_pattern: master + branch_pattern: dev # We don't store generated files (configure and Makefile) in GIT, # so we must customize the default build script to run ./autogen.sh