1
mirror of https://github.com/home-assistant/core synced 2024-09-06 10:29:55 +02:00

Only lint on Python 3.4

This commit is contained in:
Paulus Schoutsen 2015-12-18 00:09:33 -08:00
parent b5fc7f5e71
commit 9dca22aa27
2 changed files with 12 additions and 3 deletions

View File

@ -5,6 +5,12 @@
cd "$(dirname "$0")/.."
if [ "$TRAVIS_PYTHON_VERSION" != "3.4" ]; then
NO_LINT=1
fi
export NO_LINT
script/test coverage
STATUS=$?

View File

@ -5,9 +5,12 @@
cd "$(dirname "$0")/.."
script/lint
LINT_STATUS=$?
if [ "$NO_LINT" = "1" ]; then
LINT_STATUS=0
else
script/lint
LINT_STATUS=$?
fi
echo "Running tests..."