summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 2ffdf062402fb9028a80775fec7e1ba29335984e (plain)
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
[tox]
envlist = py27-{django18,django111}
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/

[testenv]
usedevelop =
  coverage: True
setenv =
  DJANGO_SETTINGS_MODULE=welco.settings
  WELCO_SETTINGS_FILE=tests/settings.py
  fast: FAST=--nomigrations
deps =
  django18: django>=1.8,<1.9
  django18: django-taggit<0.23
  django18: django-reversion<3.0.1
  django111: django>=1.11,<1.12
  pytest-cov
  pytest-django
  pytest<4.1
  WebTest
  mock
  httmock
  python-dateutil
  pylint<1.8
  pylint-django<0.8.1
  django-webtest>=1.9.6
  pyquery
  lxml
  git+https://git.entrouvert.org/debian/django-ckeditor.git
commands =
  django18: py.test {posargs: --junitxml=test_{envname}_results.xml tests/}
  django111: ./pylint.sh welco/
  django111: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=welco/ tests/}