Skip to content

Commit 00cc795

Browse files
committed
Codacy integration
1 parent a784a63 commit 00cc795

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ venv/
55

66
htmlcov/
77
.coverage
8+
coverage.xml
89

910
*.pyc
1011
*.log

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ language: python
44
cache: pip
55
install:
66
- pip install -r requirements.txt
7-
- pip install pytest pytest-cov requests coveralls
7+
- pip install pytest pytest-cov requests coveralls codacy-coverage
88
script:
99
- pytest --cov-config .coveragerc --cov=json_to_models -m "not no_expected" test/
1010
after_success:
11+
- coverage xml
1112
- coveralls
13+
- python-codacy-coverage -r coverage.xml
1214
matrix:
1315
include:
1416
- python: 3.7

0 commit comments

Comments
 (0)