On Wed, Jun 15, 2016 at 1:32 PM, William Townsend <[email protected]> wrote:
> Travis builds will now automatically run flake8 and hacking checks against > Python code and generate warnings. > > Signed-off-by: Willim Townsend <[email protected]> > > Nitpick: fix typo in your name for the Signed-off-by. ;) > --- > .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 > -- > LGTM. Acked-by: Flavio Fernandes <[email protected]> > 1.8.3.1 > > _______________________________________________ > dev mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/dev > _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
