Skip to content

Commit

Permalink
Merge pull request #228 from Mirantis/codacy
Browse files Browse the repository at this point in the history
Use codacy for code analysis
  • Loading branch information
tomkukral authored Feb 21, 2018
2 parents 2485958 + 5063714 commit 193df58
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
script:
- export prometheus_multiproc_dir=$(mktemp -d)
- python3 -m pytest --cov=. --cov-report=term-missing:skip-covered
- coverage xml
- coveralls
- python-codacy-coverage -r coverage.xml
- pip3 install --editable .
- python3 -m kqueen &
- sleep 2
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.6
LABEL maintainer="[email protected]"

# prepare directory
WORKDIR /code
Expand Down
1 change: 1 addition & 0 deletions prod/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM nginx
LABEL maintainer="[email protected]"

# environment
ENV DIR_CONF /etc/nginx/conf.d/
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
long_description = ''.join(f.readlines())

test_require = [
'codacy-coverage',
'coveralls',
'faker',
'flake8',
Expand Down

0 comments on commit 193df58

Please sign in to comment.