move the pip command to common section again
[testsuite/python-testing-utils.git] / robotframework-onap / tox.ini
index f7276b4..08ebf48 100644 (file)
@@ -9,13 +9,13 @@ usedevelop = True
 deps =
   -r{toxinidir}/requirements.txt
   -r{toxinidir}/test-requirements.txt
+install_command = pip install {opts} {packages}
 
 [testenv:pep8]
 basepython = python3
 changedir = {toxinidir}
 commands =
   flake8 --max-line-length 120 {[tox]modules}
-install_command = pip3 install {opts} {packages}
 
 [testenv:pylint]
 basepython = python3
@@ -24,7 +24,6 @@ deps =
     pylint
 commands =
     pylint -f parseable --ignore-imports=y --disable=locally-disabled --max-line-length 120 --exit-zero -ry {[tox]modules}
-install_command = pip3 install {opts} {packages}
 
 [testenv:py3]
 basepython = python3
@@ -36,10 +35,8 @@ commands = nosetests --with-xunit \
   --cover-xml \
   --cover-html \
   tests
-install_command = pip3 install {opts} {packages}
 
 [testenv:py27]
 basepython = python2.7
 commands =
   nosetests --all-modules tests
-install_command = pip install {opts} {packages}
\ No newline at end of file