summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 88ac853fdd62ab6c9b7de8f5382cf242b742956d (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
[tox]
envlist = coverage-{django18,django111}-pylint
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo/

[testenv]
usedevelop =
  coverage: True
  nocoverage: False
setenv =
  WCSCTL=wcs/wcsctl.py
  DJANGO_SETTINGS_MODULE=combo.settings
  COMBO_SETTINGS_FILE=tests/settings.py
  coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=combo/
deps =
  django18: django>=1.8,<1.9
  django111: django>=1.11,<1.12
  pytest-cov
  pytest-django
  pytest
  pytest-capturelog
  WebTest
  mock
  httmock
  pylint<1.8
  pylint-django
  django-webtest
  quixote<3.0
  vobject
commands =
  py.test {env:COVERAGE:} {posargs:tests/}
  pylint: ./pylint.sh combo/