Commit 3e5bc174 authored by Aurélien Bompard's avatar Aurélien Bompard

Fix test runs

parent c0c5a05c
......@@ -2,15 +2,15 @@ image: maxking/mailman-ci-runner
django-1.8:
script:
- tox -e py27-django18
- tox -e py27-django18-coverage
django-1.9:
script:
- tox -e py27-django19
- tox -e py27-django19-coverage
django-1.10:
script:
- tox -e py27-django110
- tox -e py27-django110-coverage
pep8:
script:
......
......@@ -2,53 +2,31 @@
envlist = py27-django{18,19,110},pep8
[base]
deps =
mock
vcrpy
coverage
devdeps =
-e../mailmanclient
-e../django-mailman3
[testenv]
usedevelop = True
deps =
{[base]deps}
git+https://gitlab.com/mailman/mailmanclient.git
git+https://gitlab.com/mailman/django-mailman3.git
dev,record:Django>=1.8,<1.9
mock
vcrpy
coverage: coverage
head: git+https://gitlab.com/mailman/mailmanclient.git
head: git+https://gitlab.com/mailman/django-mailman3.git
dev,record: -e../mailmanclient
dev,record: -e../django-mailman3
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django-latest: https://github.com/django/django/archive/master.tar.gz
commands =
coverage run example_project/manage.py test --settings=test_settings {posargs:postorius}
coverage report
python example_project/manage.py test --settings=test_settings {posargs:postorius}
coverage: coverage run example_project/manage.py test --settings=test_settings {posargs:postorius}
coverage: coverage html
coverage: coverage report
setenv =
PYTHONPATH = {toxinidir}
record: POSTORIUS_VCR_RECORD_MODE = all
[testenv:dev]
deps =
{[base]deps}
{[base]devdeps}
commands =
python example_project/manage.py test --settings=test_settings {posargs:postorius}
[testenv:dev-record]
deps =
{[base]deps}
{[base]devdeps}
commands =
python example_project/manage.py test --settings=test_settings {posargs:postorius}
[testenv:pep8]
basepython = python2.7
deps =
flake8
commands =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment