forked from openedx/event-tracking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
21 lines (18 loc) · 782 Bytes
/
tox.ini
File metadata and controls
21 lines (18 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist = py{27,35}-django111,py{35,36}-django{20,21,22}
[testenv]
setenv =
DJANGO_SETTINGS_MODULE = eventtracking.django.tests.settings
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements/test.txt
# These are the equivalent of 'make ci'.
commands =
django111: pip install 'Django>=1.11,<1.12'
django20: pip install 'Django>=2.0,<2.1'
django21: pip install 'Django>=2.1,<2.2'
django22: pip install 'Django>=2.2,<2.3'
nosetests --cover-erase --with-coverage --cover-branches -A 'not integration and not performance' --cover-min-percentage=95 --cover-package=eventtracking
nosetests --verbose --nocapture -a 'integration'
pycodestyle --config=setup.cfg eventtracking setup.py
pylint --rcfile=pylintrc eventtracking setup.py