forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
82 lines (71 loc) · 1.93 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# 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, py35, py36
[testenv]
deps =
cython
nose
pytest
pytz>=2011k
python-dateutil
beautifulsoup4
lxml
xlsxwriter
xlrd
six
sqlalchemy
moto
# cd to anything but the default {toxinidir} which
# contains the pandas subdirectory and confuses
# nose away from the fresh install in site-packages
changedir = {envdir}
commands =
# TODO: --exe because of GH #761
{envbindir}/pytest pandas {posargs:-A "not network and not disabled"}
# cleanup the temp. build dir created by the tox build
# /bin/rm -rf {toxinidir}/build
# quietly rollback the install.
# Note this line will only be reached if the
# previous lines succeed (in particular, the tests),
# but an uninstall is really only required when
# files are removed from the source tree, in which case,
# stale versions of files will will remain in the venv
# until the next time uninstall is run.
#
# tox should provide a preinstall-commands hook.
pip uninstall pandas -qy
[testenv:py27]
deps =
numpy==1.8.1
boto
bigquery
{[testenv]deps}
[testenv:py35]
deps =
numpy==1.10.0
{[testenv]deps}
[testenv:py36]
deps =
numpy
{[testenv]deps}
[testenv:openpyxl1]
usedevelop = True
deps =
{[testenv]deps}
openpyxl<2.0.0
commands = {envbindir}/pytest {toxinidir}/pandas/io/tests/test_excel.py
[testenv:openpyxl20]
usedevelop = True
deps =
{[testenv]deps}
openpyxl<2.2.0
commands = {envbindir}/pytest {posargs} {toxinidir}/pandas/io/tests/test_excel.py
[testenv:openpyxl22]
usedevelop = True
deps =
{[testenv]deps}
openpyxl>=2.2.0
commands = {envbindir}/pytest {posargs} {toxinidir}/pandas/io/tests/test_excel.py