Merge pull request #102 from sblondon/master

Add info about how to run tests
This commit is contained in:
Martin Rusev
2017-10-10 08:11:20 +02:00
committed by GitHub
3 changed files with 28 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ Python library for reading IMAP mailboxes and converting email content to machin
Requirements Requirements
------------ ------------
Python (3.2, 3.3, 3.4, 3.5, 3.6) Python (3.3, 3.4, 3.5, 3.6)
Installation Installation
@@ -114,4 +114,25 @@ Usage
} }
Changelog
---------
`Changelog <https://github.com/martinrusev/imbox/blob/master/CHANGELOG.md>`_ `Changelog <https://github.com/martinrusev/imbox/blob/master/CHANGELOG.md>`_
Running the tests
-----------------
You can run the imbox tests with ``tox``.
Requirements:
* the supported python versions
* ``tox``. Tox is packaged in Debian and derivatives distributions.
On Ubuntu, you can install several python versions with:
.. code:: sh
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.X

View File

@@ -22,7 +22,6 @@ setup(
zip_safe=False, zip_safe=False,
classifiers=( classifiers=(
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',

6
tox.ini Normal file
View File

@@ -0,0 +1,6 @@
[tox]
envlist = py33,py34,py35,py36
[testenv]
deps=nose
commands=nosetests -v