summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tox.ini22
1 files changed, 22 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 4f59a14c2..1a5b9dbf1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,3 +22,25 @@ commands = pip install -e "git+https://github.com/loadtheaccumulator/glusto.git#
pip install -e {toxinidir}/glustolibs-misc
flake8 {toxinidir}
pylint -j 4 --rcfile={toxinidir}/.pylintrc {toxinidir}/tests/functional --ignore=nfs_ganesha
+
+[testenv:functional]
+basepython = python2.7
+commands =
+ python -m pip install --upgrade pip>=9.0.0 setuptools wheel
+ pip install \
+ git+git://github.com/loadtheaccumulator/glusto.git \
+ --editable=file:///{toxinidir}/glustolibs-gluster \
+ --editable=file:///{toxinidir}/glustolibs-io \
+ --editable=file:///{toxinidir}/glustolibs-misc
+ {posargs:bash -c "echo 'No commands have been specified. Exiting.'; exit 1"}
+
+[testenv:functional3]
+basepython = python3
+commands =
+ python3 -m pip install --upgrade pip>=9.0.0 setuptools wheel
+ pip3 install \
+ git+git://github.com/loadtheaccumulator/glusto.git@python3_port4 \
+ --editable=file:///{toxinidir}/glustolibs-gluster \
+ --editable=file:///{toxinidir}/glustolibs-io \
+ --editable=file:///{toxinidir}/glustolibs-misc
+ {posargs:bash -c "echo 'No commands have been specified. Exiting.'; exit 1"}