Skip to content

Commit

Permalink
pytorn#47 Add travis CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
StegSchreck committed Oct 2, 2018
1 parent 028a3e0 commit 2b97337
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: python
python:
- '2.7'
install:
- pip install -r requirements.txt
- pip install -r travis_requirements.txt
script:
- pytest --cov hackr --cov-report term-missing --cov-report xml
- pytest --flakes
- pytest --pep8
- pytest --mccabe -m mccabe
- pytest --pylint -m pylint

4 changes: 4 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[pytest]
pep8ignore = E501 E125 E126 E127
flakes-ignore =
ImportStarUsage ImportStarUsed
6 changes: 6 additions & 0 deletions travis_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytest
pytest-cov
pytest-mccabe
pytest-flakes
pytest-pep8
pytest-pylint

0 comments on commit 2b97337

Please sign in to comment.