Skip to content

Commit 9fd16d3

Browse files
committed
Added tox environments for testing.
This allows all tests to be run on all environments just by running 'tox'.
1 parent da1c384 commit 9fd16d3

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

CONTRIBUTING.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Running tests
2+
=============
3+
4+
To run the tests, install the dependencies in requirements.txt and also nose::
5+
6+
pip install nose
7+
8+
Then run::
9+
10+
nosetests pandas_highcharts
11+
12+
13+
Alternatively, to run the tests on all supported versions, install 'tox'::
14+
15+
pip install tox
16+
17+
Then just run tox::
18+
19+
tox

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
include requirements.txt
22
include *.ipynb
33
include *.yml
4+
include *.rst
45
include LICENSE
56
include tox.ini
67
recursive-include pandas_highcharts *.csv

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ In your templates
107107
new Highcharts.Chart({{chart|safe}});
108108
</script>
109109

110+
Contributing
111+
------------
112+
113+
See CONTRIBUTING.rst for information on how to contribute to pandas-highcharts.
114+
110115
More examples
111116
-------------
112117

tox.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1+
[tox]
2+
envlist = py26,py27,py34
3+
4+
[testenv]
5+
deps = nose
6+
commands = nosetests --with-cover --cover-package pandas_highcharts pandas_highcharts
7+
18
[flake8]
29
ignore = E501

0 commit comments

Comments
 (0)