[ovs-dev] [PATCH] Travis: added python plugins flake8 and hacking.
William Townsend
wtownsen at redhat.com
Wed Jun 15 17:32:57 UTC 2016
Travis builds will now automatically run flake8 and hacking checks against
Python code and generate warnings.
Signed-off-by: Willim Townsend <wtownsen at redhat.com>
---
.travis.yml | 2 +-
.travis/linux-prepare.sh | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index ee2cf21..79b5ab1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ addons:
before_install: ./.travis/${TRAVIS_OS_NAME}-prepare.sh
-before_script: export PATH=$PATH:$HOME/bin
+before_script: export PATH=$PATH:$HOME/bin:$HOME/.local/bin
sudo: false
diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 752be9f..f8fc952 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -3,3 +3,5 @@
git clone git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git
cd sparse && make && make install && cd ..
pip install --disable-pip-version-check --user six
+pip install --user flake8
+pip install --user hacking
--
1.8.3.1
More information about the dev
mailing list