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[@]}" }