Merge pull request #1512 from renatosilva/ci-build
Fixes for continuous integration
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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[@]}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user