mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Only lint on Python 3.4
This commit is contained in:
parent
b5fc7f5e71
commit
9dca22aa27
@ -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..."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user