nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 75b8eb439b60646480e2b3afb7cfe00f96213616
parent f9efcbfdc2d47795d193c9a851a9c4b6d41661d5
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Tue,  6 Aug 2019 14:59:22 +0200

TravisCI: force one build without utmpx

Diffstat:
M.travis.yml | 15++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml @@ -1,13 +1,18 @@ dist: xenial language: c +env: + matrix: + - BUILD_NAME="default" + - BUILD_NAME="utmp" FORCE_UTMP="1" compiler: - gcc - clang script: - echo "${CC} -O2 -Wall" > conf-cc - - make it man - - env DESTDIR=/tmp/qmail make package - - sudo make package + - if [ -n "${FORCE_UTMP}" ]; then export MAKEFLAGS="${MAKEFLAGS} -o qtmp.h"; cp qtmp.h1 qtmp.h; fi + - make ${MAKEFLAGS} it man + - env DESTDIR=/tmp/qmail make ${MAKEFLAGS} package + - sudo make ${MAKEFLAGS} package - sudo groupadd -g 200 nofiles - sudo groupadd -g 201 qmail - sudo useradd -u 200 -g 200 -d /var/qmail/alias alias @@ -18,6 +23,6 @@ script: - sudo useradd -u 205 -g 201 -d /var/qmail qmailr - sudo useradd -u 206 -g 201 -d /var/qmail qmails - sudo ./instchown - - sudo make check + - sudo make ${MAKEFLAGS} check - sudo rm -rf /var/qmail - - sudo make setup check + - sudo make ${MAKEFLAGS} setup check