Project

General

Profile

0001-tox-remove-python2-tests-45561.patch

Nicolas Roche, 29 Jul 2020 03:24 PM

Download (2.36 KB)

View differences:

Subject: [PATCH] tox: remove python2 tests (#45561)

 tox.ini | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
tox.ini
1 1
# Tox (http://tox.testrun.org/) is a tool for running tests
2 2
# in multiple virtualenvs. This configuration file will run the
3 3
# test suite on all supported python versions. To use it, "pip install tox"
4 4
# and then run "tox" from this directory.
5 5
[tox]
6 6
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/hobo/{env:BRANCH_NAME:}
7
envlist = {py2,py3-coverage}-{authentic,hobo,multipublik,multitenant,multitenant-oldstylemiddleware,passerelle,schemas}
7
envlist = py3-coverage-{authentic,hobo,multipublik,multitenant,multitenant-oldstylemiddleware,passerelle,schemas}
8 8

  
9 9
[testenv]
10 10
usedevelop = True
11 11
setenv =
12 12
	BRANCH_NAME={env:BRANCH_NAME:}
13 13
	DB_ENGINE=django.db.backends.postgresql_psycopg2
14 14
	hobo: DJANGO_SETTINGS_MODULE=hobo.settings
15 15
	hobo: HOBO_SETTINGS_FILE=tests/settings.py
......
36 36
	coverage
37 37
	cssselect
38 38
	WebTest
39 39
	django-mellon
40 40
	django-webtest
41 41
	Markdown<3
42 42
	django-tables2<2.0
43 43
	authentic: http://git.entrouvert.org/authentic.git/snapshot/authentic-master.tar.gz
44
	py2-authentic: django-filter<2
45 44
	py3-authentic: django-filter<2.3
46 45
	passerelle: http://git.entrouvert.org/passerelle.git/snapshot/passerelle-master.tar.gz
47
	py2-passerelle: suds
48 46
	passerelle: python-memcached
49 47
	multitenant: systemd-python
50 48
	http://git.entrouvert.org/debian/django-tenant-schemas.git/snapshot/django-tenant-schemas-master.tar.gz
51 49
	mock
52 50
	httmock
53 51
	requests
54 52
	pytest-freezegun
55 53
	xmlschema<1.1
56 54
	enum34<=1.1.6
57
	py2: django-appconf<1.0.4
58 55
	psycopg2-binary
59 56
commands =
60
	py2: ./getlasso.sh
61 57
	py3: ./getlasso3.sh
62 58
	hobo: py.test {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests/}
63 59
	schemas: py.test {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests_schemas/}
64 60
	multitenant: py.test {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests_multitenant/}
65 61
	multipublik: py.test {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests_multipublik/}
66 62
	authentic: py.test {env:FAST:} {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests_authentic/}
67 63
	passerelle: py.test {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests_passerelle/}
68
-