Skip to content

Commit

Permalink
Added travis file.
Browse files Browse the repository at this point in the history
  • Loading branch information
varmar05 authored and PeterPetrik committed Jan 16, 2019
1 parent 82f9c9f commit 22a9c39
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[run]
omit =
*/tests*

[report]
exclude_lines =
pragma: no cover
def __repr__
raise NotImplementedError
if __name__ == .__main__.:
def parse_args
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ plugin/crayfish.lib
*.autosave
.pytest_cache
.cache
.coverage
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: python
python:
- '3.6'
install:
- pip install pytest pytest-cov pycodestyle
script:
- pytest crayfish/tests/ --cov=crayfish --cov-report term-missing
- pycodestyle --statistics crayfish
after_success:
- coveralls

0 comments on commit 22a9c39

Please sign in to comment.