From 47ead3c24bc67aaede02046bb87459fea595d64d Mon Sep 17 00:00:00 2001 From: Qian Hong Date: Mon, 8 Feb 2016 06:23:31 +0800 Subject: [PATCH] Continuous Integration: Test package installaton after successful build. --- ci-build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci-build.sh b/ci-build.sh index 2b47cee4..55477cd7 100644 --- a/ci-build.sh +++ b/ci-build.sh @@ -25,7 +25,13 @@ test -z "${recipes}" && success 'no changes in package recipes' # Build for recipe in "${recipes[@]}"; do cd "$(dirname ${recipe})" + echo echo "Build start: $(dirname ${recipe})" makepkg --syncdeps --noconfirm --skippgpcheck --nocheck --noprogressbar || failure "could not build ${recipe}" cd - > /dev/null done + +# Install +echo +echo "Install packages:" */*.pkg.tar.xz +pacman -U --noconfirm */*.pkg.tar.xz