summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-04-19 13:52:23 -0400
committerDan Radez <dradez@redhat.com>2017-06-06 14:00:22 -0400
commit7a9ba73da3e5cdc8b13b39f081e2a7108e2f3d89 (patch)
tree653bcdc4104f7b6e602be3f0a1006b28fa8ea8a9 /ci
parentb9f63d58a83e18dd221be13348e585533eedcedc (diff)
Adding rpmlint to the build
- updating syntax to meet rpmlint standards Change-Id: I056b7600df0f4383b97c67e705bc0b749b4c1633 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/test.sh b/ci/test.sh
index c1e9934..72de24e 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