Skip to content
Snippets Groups Projects
Commit 9cbcceb8 authored by ptangu01's avatar ptangu01
Browse files

add Tox support

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@1372 b32b6428-25c9-4566-ad07-03861ab6144f
parent ccbbd0d9
No related branches found
No related tags found
No related merge requests found
...@@ -35,9 +35,9 @@ or ...@@ -35,9 +35,9 @@ or
.. code-block:: bash .. code-block:: bash
$ python setup.py develop $ python setup.py develop
============ =========
Uninstall Uninstall
============ =========
.. code-block:: bash .. code-block:: bash
$ pip uninstall xaal-lib $ pip uninstall xaal-lib
...@@ -60,3 +60,18 @@ You have to generate the documentation ...@@ -60,3 +60,18 @@ You have to generate the documentation
And you can open the documentation for the xAAL stack in 'build/html/index.html' in your favorite web browser. And you can open the documentation for the xAAL stack in 'build/html/index.html' in your favorite web browser.
============
Contributing
============
Run Tests
*********
To run tests for all supported Python versions, you must have all considering
Python versions.
To run all tests:
.. code-blocks:: bash
$ tox
...@@ -13,7 +13,7 @@ Contents: ...@@ -13,7 +13,7 @@ Contents:
intro intro
installation installation
xAAL modules
... ...
Indices and tables Indices and tables
......
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py27, py34, docs
[testenv]
commands = {envpython} setup.py test
deps =
[testenv:docs]
changedir = docs/source
deps =
sphinx
sphinx_rtd_theme
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment