forked from firebase/firebase-admin-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (30 loc) · 716 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py27,py33,py35,py36,pypy,cover
[testenv]
commands = pytest
deps =
pytest
google-auth
google-cloud-storage
requests
six
[coverbase]
basepython = python2.7
commands =
pytest \
--cov=firebase_admin \
--cov=tests
deps = {[testenv]deps}
coverage
pytest-cov
[testenv:cover]
basepython = {[coverbase]basepython}
commands =
{[coverbase]commands}
coverage report --show-missing
deps =
{[coverbase]deps}