Skip to content

Commit

Permalink
Add a Pylint check to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
etene committed Oct 20, 2017
1 parent d04292c commit bd677be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ python:
- "3.6"

install:
- pip install -r requirements.txt
- pip install -r requirements.txt -r tests/requirements.txt

script:
- PYTHONPATH=. python tests/nldecap_tests.py
# 1 = fatal error, 2 = error, 32 = usage error
- (pylint nldecap.py; exit $(($? & $((1 + 2 + 32)))))
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pylint

0 comments on commit bd677be

Please sign in to comment.