From 7a9ba73da3e5cdc8b13b39f081e2a7108e2f3d89 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Wed, 19 Apr 2017 13:52:23 -0400 Subject: Adding rpmlint to the build - updating syntax to meet rpmlint standards Change-Id: I056b7600df0f4383b97c67e705bc0b749b4c1633 Signed-off-by: Dan Radez --- ci/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ci/test.sh') diff --git a/ci/test.sh b/ci/test.sh index c1e99344..72de24e8 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -11,7 +11,7 @@ set -e # Make sure python dependencies are installed -for pkg in yamllint iproute epel-release python34-devel python34-nose python34-PyYAML python-pep8 python34-mock python34-pip; do +for pkg in yamllint rpmlint iproute epel-release python34-devel python34-nose python34-PyYAML python-pep8 python34-mock python34-pip; do if ! rpm -q ${pkg} > /dev/null; then if ! sudo yum install -y ${pkg}; then echo "Failed to install ${pkg} package..." @@ -24,6 +24,7 @@ done if ! python3 -c "import coverage" &> /dev/null; then sudo pip3.4 coverage; fi pushd ../build/ > /dev/null +make rpmlint make python-pep8-check make yamllint make python-tests -- cgit 1.2.3-korg