diff --git a/.ci/setup.sh b/.ci/setup.sh index b014198b2f..208eaf8547 100755 --- a/.ci/setup.sh +++ b/.ci/setup.sh @@ -10,8 +10,6 @@ set -e cidir=$(dirname "$0") source "${cidir}/lib.sh" -bash "${cidir}/static-checks.sh" - #Note: If add clearlinux as supported CI use a stateless os-release file source /etc/os-release @@ -22,8 +20,10 @@ elif [ "$ID" == centos ];then sudo -E yum -y install automake yamllint coreutils moreutils elif [ "$ID" == ubuntu ];then sudo apt-get -qq update - sudo apt-get install -y -qq automake qemu-utils python-pip coreutils moreutils + sudo apt-get install -y -qq make automake qemu-utils python-pip coreutils moreutils sudo pip install yamllint else echo "Linux distribution not supported" fi + +bash "${cidir}/static-checks.sh"