6 echo "Starting unit tests for Apex..."
7 echo "---------------------------------------------------------------------------------------"
13 pushd build/ > /dev/null
14 for pkg in yamllint rpmlint iproute epel-release python34-devel python34-nose python34-PyYAML python-pep8 python34-mock python34-pip; do
15 if ! rpm -q ${pkg} > /dev/null; then
16 if ! sudo yum install -y ${pkg}; then
17 echo "Failed to install ${pkg} package..."
23 # Make sure coverage is installed
24 if ! python3 -c "import coverage" &> /dev/null; then sudo pip3 install coverage; fi
27 make python-pep8-check
32 echo "--------------------------------------------------------"
33 echo "Unit Tests Done!"