Attempt to fix CI scripts

This commit is contained in:
Paulus Schoutsen
2015-09-20 11:00:35 -07:00
parent 19d40612e6
commit 0d09e2e1df
3 changed files with 32 additions and 8 deletions

View File

@ -5,14 +5,15 @@ cd "$(dirname "$0")/.."
echo "Checking style with flake8..."
flake8 --exclude www_static homeassistant
STATUS=$?
FLAKE8_STATUS=$?
echo "Checking style with pylint..."
pylint homeassistant
PYLINT_STATUS=$?
if [ $STATUS -eq 0 ]
if [ $FLAKE8_STATUS -eq 0 ]
then
exit $?
exit $FLAKE8_STATUS
else
exit $STATUS
exit $PYLINT_STATUS
fi