Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #41 from anteater/travis-pep8
Browse files Browse the repository at this point in the history
Introduce pycodestyle and add gitignore entries
  • Loading branch information
lukehinds committed Mar 28, 2018
2 parents ce4551f + 12ddd1d commit 81f535a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*.egg-info
dist
build
eggs
.eggs/
parts
bin
var
Expand All @@ -29,6 +29,7 @@ pip-log.txt
.coverage
.tox
nosetests.xml
.pytest_cache

# Translations
*.mo
Expand All @@ -42,6 +43,7 @@ nosetests.xml
# Complexity
output/*.html
output/*/index.html
dump.rdb

# Sphinx
docs/_build
Expand Down
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ language: python

python:
- "3.3"
- "2.7"
- "pypy"
- "3.4"
- "3.5"

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U .
before_install:
- pip install pycodestyle

# command to run tests, e.g. python setup.py test
script: py.test
before_script:
- pycodestyle --exclude ./buildroot,tests,.git,build .

script:
- python setup.py test

0 comments on commit 81f535a

Please sign in to comment.