forked from django-salesforce/django-salesforce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
65 lines (61 loc) · 2.03 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# The easy usage for all test environments:
# pip install tox
# tox
[tox]
# This configuration file needs `tox 2.6+`, `pip 1.4+` or higher.
# If a Python 3.5 environment should be tested, also `setuptools 10.0+`
# is necesary to be installed in the in the Python used by`tox`
# command. (The easiest: Simply install tox to python3.5 and run
# tox from there.)
minversion = 2.6
envlist = py27-dj18, py34-dj19, py35-dj110, py36-dj111
# Explicit combinations can be tested even though are not listed in ALL:
# `tox -e py35-dj110,py35-djdev`
# `tox -e docs` # test documentation
[testenv]
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
deps =
dj18: Django>=1.8.4,<1.8.99
dj19: Django>=1.9,<1.9.99
dj110: Django>=1.10,<1.10.99
dj111: Django>=1.11,<1.11.99
# dj110: https://www.djangoproject.com/download/1.10rc1/tarball/
djdev: https://github.com/django/django/archive/master.zip
coverage
# This Beatbox version works with Python 3 and 2.
# Be hopeful, it will be soon in official repositories.
git+https://github.com/hynekcer/beatbox-davisagli.git@7f628a789cba#egg=beatbox
-rrequirements.txt
commands =
{envpython} manage.py test salesforce
{toxinidir}/tests/tests.sh
setenv =
# all bugs can be reported by the command `QUIET_KNOWN_BUGS=off tox`
# otherwise known bugs are silent
QUIET_KNOWN_BUGS={env:QUIET_KNOWN_BUGS:on}
passenv = SLOW_TESTS
# These other environments are tested by `tox -e ALL`:
# (useful combinations - highest contra lowest)
[testenv:py35-dj18]
[testenv:py27-dj111]
[testenv:py36-djdev]
[testenv:docs]
basepython = python
deps = rstcheck
skip_install = True
commands =
rstcheck README.rst
# === lint configurations (not tests) ===
[flake8]
max-line-length = 119
exclude=.git,.tox,.env,build,tests/inspectdb/models.py,models1*.py,packages_
[pep8]
max-line-length = 119
exclude=.git,.tox,.env,build,tests/inspectdb/models.py,models1*.py,packages_
[pyflakes]
# ignore E126 continuation line over-indented for hanging indent
ignore=E126