From f9c29c06835d8c50474c614c4500c7784e07ba5c Mon Sep 17 00:00:00 2001 From: Renato Silva Date: Sun, 26 Jun 2016 11:02:20 -0300 Subject: [PATCH] CI: Disable recipe check in Drone 32-bit. --- .drone.yml | 2 ++ ci-library.sh | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index d24d982245..7b628b9501 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,8 @@ build: pull: true shell: msys$$arch commands: + # TODO: remove this option when not anymore needed + - if [ $$arch = 32 ]; then export DISABLE_QUALITY_CHECK=true; fi - ./ci-build.sh notify: diff --git a/ci-library.sh b/ci-library.sh index 60209f6033..d4b054af95 100644 --- a/ci-library.sh +++ b/ci-library.sh @@ -133,6 +133,7 @@ execute(){ update_system() { repman add ci.msys 'https://dl.bintray.com/alexpux/msys2' || return 1 pacman --noconfirm --noprogressbar --sync --refresh --refresh --sysupgrade --sysupgrade || return 1 + test -n "${DISABLE_QUALITY_CHECK}" && return 0 # TODO: remove this option when not anymore needed pacman --noconfirm --noprogressbar --sync ci.msys/pactoys } @@ -191,6 +192,11 @@ list_packages() { # Recipe quality check_recipe_quality() { + # TODO: remove this option when not anymore needed + if test -n "${DISABLE_QUALITY_CHECK}"; then + echo 'This feature is disabled.' + return 0 + fi saneman --format='\t%l:%c %p:%c %m' --verbose --no-terminal "${packages[@]}" }