Projet

Général

Profil

Télécharger (969 octets) Statistiques
| Branche: | Tag: | Révision:

root / tox.ini @ main

1
[tox]
2
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/corbo/{env:BRANCH_NAME:}
3
envlist = py3-coverage-django111,py3-django22
4

    
5
[testenv]
6
usedevelop =
7
  coverage: True
8
setenv =
9
  DB_ENGINE=django.db.backends.postgresql_psycopg2
10
  DJANGO_SETTINGS_MODULE=corbo.settings
11
  CORBO_SETTINGS_FILE=tests/settings.py
12
  SETUPTOOLS_USE_DISTUTILS=stdlib
13
  coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov-report html --cov=corbo/ --cov-config .coveragerc
14
deps =
15
  django111: django>=1.11,<1.12
16
  django22: django>=2.2,<2.3
17
  django111: https://git.entrouvert.org/hobo.git/snapshot/hobo-main.tar.gz
18
  pytest-cov
19
  pytest-django
20
  pytest
21
  django-webtest
22
  premailer<3.7
23
  git+https://git.entrouvert.org/debian/django-ckeditor.git
24
  djangorestframework>=3.3,<3.8
25
  pylint
26
  astroid
27
  mock<4
28
  psycopg2-binary<2.9
29
commands =
30
  django111: py.test {env:COVERAGE:} {posargs:tests/}
31
  django22: py.test {env:COVERAGE:} {posargs:--ignore=tests/test_hobo_notify.py tests/}
(9-9/9)