Attempt to fix CI scripts

This commit is contained in:
Paulus Schoutsen committed 2015-09-20 11:00:35 -07:00
1 parent 19d40612e6
commit 0d09e2e1df
3 files changed
+32 -8

No files matched your search

+5 -4
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