mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Only lint on Python 3.4
This commit is contained in:
parent
b5fc7f5e71
commit
9dca22aa27
@ -5,6 +5,12 @@
|
|||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
if [ "$TRAVIS_PYTHON_VERSION" != "3.4" ]; then
|
||||||
|
NO_LINT=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
export NO_LINT
|
||||||
|
|
||||||
script/test coverage
|
script/test coverage
|
||||||
|
|
||||||
STATUS=$?
|
STATUS=$?
|
||||||
|
@ -5,9 +5,12 @@
|
|||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
script/lint
|
if [ "$NO_LINT" = "1" ]; then
|
||||||
|
LINT_STATUS=0
|
||||||
LINT_STATUS=$?
|
else
|
||||||
|
script/lint
|
||||||
|
LINT_STATUS=$?
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Running tests..."
|
echo "Running tests..."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user