Browse Source

Cleanup tox.ini

Remove old and unused constraint environments.

Note: Constraints were unused in CI before and stay unused since
cursive is not part of global requirements process.

Change-Id: I29b8eda7d99b815893da0cadc2341053bee436be
Andreas Jaeger 2 years ago
parent
commit
69ddb16dac
1 changed files with 2 additions and 27 deletions
  1. 2
    27
      tox.ini

+ 2
- 27
tox.ini View File

@@ -1,42 +1,25 @@
1 1
 [tox]
2 2
 minversion = 2.0
3
-envlist = py34-constraints,py27-constraints,pep8-constraints
3
+envlist = py34,py27,pep8
4 4
 skipsdist = True
5 5
 
6 6
 [testenv]
7 7
 usedevelop = True
8
-install_command =
9
-                  constraints: {[testenv:common-constraints]install_command}
10
-                  pip install -U {opts} {packages}
8
+install_command = pip install -U {opts} {packages}
11 9
 setenv =
12 10
    VIRTUAL_ENV={envdir}
13 11
 deps = -r{toxinidir}/test-requirements.txt
14 12
 commands = python setup.py testr --slowest --testr-args='{posargs}'
15 13
 
16
-[testenv:common-constraints]
17
-install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
18
-
19 14
 [testenv:pep8]
20 15
 commands = flake8 {posargs}
21 16
 
22
-[testenv:pep8-constraints]
23
-install_command = {[testenv:common-constraints]install_command}
24
-commands = flake8 {posargs}
25
-
26 17
 [testenv:venv]
27 18
 commands = {posargs}
28 19
 
29
-[testenv:venv-constraints]
30
-install_command = {[testenv:common-constraints]install_command}
31
-commands = {posargs}
32
-
33 20
 [testenv:cover]
34 21
 commands = python setup.py test --coverage --testr-args='{posargs}'
35 22
 
36
-[testenv:cover-constraints]
37
-install_command = {[testenv:common-constraints]install_command}
38
-commands = python setup.py test --coverage --testr-args='{posargs}'
39
-
40 23
 [testenv:docs]
41 24
 commands = python setup.py build_sphinx
42 25
 
@@ -44,17 +27,9 @@ commands = python setup.py build_sphinx
44 27
 commands =
45 28
   sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
46 29
 
47
-[testenv:docs-constraints]
48
-install_command = {[testenv:common-constraints]install_command}
49
-commands = python setup.py build_sphinx
50
-
51 30
 [testenv:debug]
52 31
 commands = oslo_debug_helper {posargs}
53 32
 
54
-[testenv:debug-constraints]
55
-install_command = {[testenv:common-constraints]install_command}
56
-commands = oslo_debug_helper {posargs}
57
-
58 33
 [flake8]
59 34
 # E123, E125 skipped as they are invalid PEP-8.
60 35
 

Loading…
Cancel
Save