Skip to content

Commit

Permalink
configure travis CI + test + coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Mar 24, 2018
1 parent 7320181 commit 7e7fecd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: python

python:
- 2.7
- 3.4
- 3.5
- 3.6

install:
- pip install -r requirements_dev.txt

before_script:
cd tests/

script:
- flake8
- coverage run --source=../swap -m pytest

after_success:
- coveralls
5 changes: 5 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coveralls
coverage
pytest
flake8
-r requirements.txt

0 comments on commit 7e7fecd

Please sign in to comment.