summaryrefslogtreecommitdiffstats
path: root/ci/test.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-17 15:58:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-17 15:58:59 +0000
commitb411839804e6fca023ef7a695bbb616ea80fd6f3 (patch)
tree4ff5708b37e36dfef879b762e91b9b9fae8e772b /ci/test.sh
parent2f1a9dc491f55b5890a030a8ee36faa15de57b9e (diff)
parent95ee731525170e8dd4df813d5ca7e43b0ba2f4eb (diff)
Merge "Adding yamllint to build checks"
Diffstat (limited to 'ci/test.sh')
-rwxr-xr-xci/test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/test.sh b/ci/test.sh
index 3e538ffb..bae21096 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -11,7 +11,7 @@
set -e
# Make sure python dependencies are installed
-for pkg in iproute epel-release python34-devel python34-nose python34-PyYAML python-pep8 python34-mock; do
+for pkg in yamllint iproute epel-release python34-devel python34-nose python34-PyYAML python-pep8 python34-mock; 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 easy_install-3.4 coverage; fi
pushd ../build/ > /dev/null
-make python-tests
make python-pep8-check
+make yamllint
+make python-tests
popd > /dev/null