Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 531aeab

Browse files
committedMay 31, 2015
add tox coverage testenv
1 parent 4e7c5c2 commit 531aeab

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ docs/_build
77
__pycache__
88
.tox
99
.vagrant
10+
.coverage

‎.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
- TOXENV=py34
99
- TOXENV=pypy
1010
- TOXENV=pypy3
11+
- TOXENV=coverage
1112
install:
1213
- "pip install tox"
1314
# command to run tests

‎tox.ini

+11
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,14 @@ commands = py.test tests/
1616
deps =
1717
pytest>=2.6
1818
py26,py27,pypy,pypy3: mock>=1.0
19+
20+
[testenv:coverage]
21+
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
22+
commands =
23+
py.test tests/ --cov flask_sqlalchemy_session
24+
coveralls
25+
deps =
26+
pytest>=2.6
27+
pytest-cov>=1.8.1
28+
mock>=1.0
29+
coveralls

0 commit comments

Comments
 (0)
This repository has been archived.