Commit 627d8376 by muzaffaryousaf

Codecov

parent 20e5d123
# .coveragerc for edx-video-worker
[run]
data_file = reports/.coverage
source =
video_worker
tests
omit =
video_worker/tests/*
tests/*
concurrency=multiprocessing
[report]
ignore_errors = True
exclude_lines =
pragma: no cover
raise NotImplementedError
[html]
title = edx-video-worker Python Test Coverage Report
directory = reports/cover
[xml]
output = reports/coverage.xml
language: python language: python
dist: precise dist: xenial
python: python:
- "2.7" - "2.7"
sudo: required sudo: required
...@@ -12,6 +12,7 @@ install: ...@@ -12,6 +12,7 @@ install:
- pip install pep8 - pip install pep8
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install -r test-requirements.txt - pip install -r test-requirements.txt
- pip install codecov
script: video_worker script: video_worker
...@@ -23,3 +24,6 @@ script: ...@@ -23,3 +24,6 @@ script:
- nosetests video_worker/tests/test_config.py - nosetests video_worker/tests/test_config.py
- nosetests video_worker/tests/test_video_images.py - nosetests video_worker/tests/test_video_images.py
- pep8 - pep8
after_success:
- codecov
comment: off
coverage:
status:
patch:
default:
target: 85
project:
default:
target: 85
mock==1.0.1 mock==1.0.1
ddt==0.8.0 ddt==0.8.0
Pillow==3.4 Pillow==3.4
pep8==1.5.7 pep8==1.5.7
\ No newline at end of file coverage
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment