forked from pinax/pinax-stripe-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (37 loc) · 929 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
[flake8]
ignore = E265,E501
max-line-length = 100
max-complexity = 10
exclude = pinax/stripe/migrations/*,docs/*
[tox]
envlist =
checkqa
py27-{1.7,1.8,1.9,1.10,1.11}-stripe{127,128}
py33-{1.7,1.8}-stripe{127,128}
py34-{1.7,1.8,1.9,1.10,1.11,master}-stripe{127,128}
py35-{1.8,1.9,1.10,1.11,master}-stripe{127,128}
py36-{1.11,master}-stripe{127,128}
[testenv]
deps =
py{27,33,34,35,36}: coverage == 4.0.3
stripe127: stripe<1.28.0
stripe128: stripe>=1.28.0
1.7: Django>=1.7,<1.8
1.8: Django>=1.8,<1.9
1.9: Django>=1.9,<1.10
1.10: Django>=1.10,<1.11
1.11: Django>=1.11a1,<2.0
master: https://github.com/django/django/tarball/master
usedevelop = True
setenv =
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
commands =
coverage run setup.py test {posargs}
[testenv:checkqa]
basepython = python3.6
commands =
flake8 pinax
deps =
flake8 == 2.5.4