From fc060ab13791055fb0495c0dddf9f6553efe1a92 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Sat, 23 Feb 2019 14:57:10 -0700 Subject: .travis.yml: update --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 65bd545..4ef6d7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,12 +17,13 @@ script: { H="/travis/${PKG}" echo "#!/bin/bash -xe" - echo "dnf -q -y install fedora-review" + echo "dnf -q -y install fedora-review spectool" +echo "spectool -g ${PKG}.spec" echo "rpmbuild -D'_sourcedir ${H}' -D'_srcrpmdir ${H}' -bs ${H}/${PKG}.spec" echo "useradd -d ${H} -g mock review" echo "chown -R review:mock ${H}" echo "systemd-machine-id-setup" - echo "/travis/spinner.sh \"su - -c 'fedora-review -v --mock-config ${MOCK_CONFIG} -n ${PKG}' review\" || { cat ${H}/.cache/fedora-review.log; find ${H}/review-${PKG} -name '*.log' -print -exec cat {} \\;; exit 1; }" + echo "/travis/spinner.sh \"su - -c 'fedora-review -v --mock-config ${MOCK_CONFIG} --mock-options --old=chroot -n ${PKG}' review\" || { cat ${H}/.cache/fedora-review.log; find ${H}/review-${PKG} -name '*.log' -print -exec cat {} \\;; exit 1; }" echo "find ${H}/review-${PKG} -name '*.log' -print -exec cat {} \\;" echo "cat ${H}/review-${PKG}/licensecheck.txt" echo "cat ${H}/review-${PKG}/review.txt" -- cgit