From 9dca22aa278f2979f2cf9503c3f5a9ebbbbe3f19 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 18 Dec 2015 00:09:33 -0800 Subject: [PATCH] Only lint on Python 3.4 --- script/cibuild | 6 ++++++ script/test | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/script/cibuild b/script/cibuild index bd8ac963429..778cbe0db52 100755 --- a/script/cibuild +++ b/script/cibuild @@ -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=$? diff --git a/script/test b/script/test index d407f57a338..25873492001 100755 --- a/script/test +++ b/script/test @@ -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..."