mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Only lint on Python 3.4
This commit is contained in:
@@ -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=$?
|
||||
|
@@ -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..."
|
||||
|
||||
|
Reference in New Issue
Block a user