summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-06-07 15:12:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-07 15:12:25 +0000
commit1f346dd0052a8a24309a55058c54299803d95e09 (patch)
tree1d6302785626d2b7e7abcd1634ea036928752e71 /ci
parentd21460f3adaa6e454ee52b27a837f9d7e0ea7819 (diff)
parent7a9ba73da3e5cdc8b13b39f081e2a7108e2f3d89 (diff)
Merge "Adding rpmlint to the build"
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 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