forked from agstrike/silverstrike
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (41 loc) · 931 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
35
36
37
38
39
40
41
42
43
44
45
46
47
[tox]
envlist = django3.1, flake, coverage
[testenv]
usedevelop = True
basepython = python3
deps =
django3.0: Django>=3.0,<3.1
django3.1: Django>=3.1,<3.2
djangolatest: https://github.com/django/django/archive/master.tar.gz
ofxparse
commands =
python demo/manage.py test {posargs:silverstrike}
[testenv:flake]
basepython = python3
skip_install = true
deps =
flake8
flake8-import-order>=0.9
commands =
flake8 silverstrike
[testenv:coverage]
usedevelop = True
deps =
coverage
ofxparse
commands =
coverage run demo/manage.py test silverstrike
coverage report
[testenv:codecov]
passenv = CI TRAVIS TRAVIS_* CODECOV_TOKEN CIRCLECI CIRCLE_*
usedevelop = True
deps =
coverage
codecov
ofxparse
commands =
coverage run demo/manage.py test {posargs:silverstrike}
codecov
[flake8]
max-line-length = 100
exclude = silverstrike/migrations,silverstrike/views/__init__.py