From d0258f103946eb78f2fff6a3a82d85744ba27ec8 Mon Sep 17 00:00:00 2001 From: Alexandre Gramfort Date: Tue, 11 Jul 2017 21:32:41 +0200 Subject: add flake8 to travis + misc --- .gitignore | 3 +++ .travis.yml | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 21be4c9..6edce05 100644 --- a/.gitignore +++ b/.gitignore @@ -97,3 +97,6 @@ ENV/ # Rope project settings .ropeproject + +# Mac stuff +.DS_Store diff --git a/.travis.yml b/.travis.yml index 6126b3a..8023ec5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,10 @@ before_install: # command to install dependencies install: - pip install -r requirements.txt + - pip install flake8 pytest - python setup.py install -# command to run tests -script: python test/test_load_module.py -v +# command to run tests + check syntax style +script: + - python test/test_load_module.py -v + - flake8 . + - py.test ot test -- cgit v1.2.3