Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add pep8 to Travis #973

Closed
wants to merge 11 commits into from
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@ before_install:
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
- pip install --upgrade pip
- pip install pep8
install:
- conda create --yes -n gensim-test python=$TRAVIS_PYTHON_VERSION pip atlas numpy scipy
- source activate gensim-test
- pip install pyemd
- pip install annoy
- pip install testfixtures
- python setup.py install
script: python setup.py test

script:
- python setup.py test
- find . -name \*.py -exec pep8 --ignore=E402 {} + | wc -l
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change ignore to E501 for suppressing "long line" errors.