From: Willy Tarreau Date: Thu, 17 Oct 2019 04:53:55 +0000 (+0200) Subject: BUILD: travis-ci: limit build to branches "master" and "next" X-Git-Tag: v2.1-dev3~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3956aa3b6afb27bc855187e0231ef78736f5155;p=thirdparty%2Fhaproxy.git BUILD: travis-ci: limit build to branches "master" and "next" Occasionally some short-lived branches are pushed to help developers rebase their work, these ones do not need to be built. This patch explicitly lists "master" and "next" as the two only branches of interest. It also adds a comment with the URL for the build status. --- diff --git a/.travis.yml b/.travis.yml index 879a676ae7..f3fe008fc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,15 @@ +# build status appears on https://travis-ci.com/haproxy/haproxy + sudo: required dist: xenial language: c +branches: + only: + - master + - next + env: global: - FLAGS="USE_ZLIB=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_LUA=1 USE_OPENSSL=1 USE_SYSTEMD=1 USE_WURFL=1 WURFL_INC=contrib/wurfl WURFL_LIB=contrib/wurfl USE_DEVICEATLAS=1 DEVICEATLAS_SRC=contrib/deviceatlas USE_51DEGREES=1"