Skip to content

Commit ab1327e

Browse files
authored
Merge pull request #169 from DrFaust92/coverage
Add Coverage
2 parents 0432168 + 15a6306 commit ab1327e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![Build Status](https://travis-ci.org/aws/aws-xray-sdk-python.svg?branch=master)](https://travis-ci.org/aws/aws-xray-sdk-python)
2+
[![codecov](https://codecov.io/gh/aws/aws-xray-sdk-python/branch/master/graph/badge.svg)](https://codecov.io/gh/aws/aws-xray-sdk-python)
23

34
# AWS X-Ray SDK for Python
45

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ envlist =
77
skip_missing_interpreters = True
88

99
[testenv]
10+
passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_*
1011
deps =
1112
pytest > 3.0.0
1213
coverage
14+
codecov
1315
requests
1416
flask >= 0.10
1517
sqlalchemy
@@ -33,7 +35,9 @@ deps =
3335

3436
commands =
3537
py{27,34}: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py
38+
codecov
3639
py{35,36,37}: coverage run --source aws_xray_sdk -m py.test tests
40+
codecov
3741

3842
setenv =
3943
DJANGO_SETTINGS_MODULE = tests.ext.django.app.settings

0 commit comments

Comments
 (0)