Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 94 lines (72 sloc) 2.339 kb
60a3b9b @kmike test running for multiple python implementations
kmike authored
1 [tox]
9dd4425 @hleeldc added files and fixed tox.ini for jenkins setup
hleeldc authored
2 envlist = py26,py27,py32,py33,pypy,py26-nodeps,py27-nodeps,py32-nodeps,py33-nodeps,py26-jenkins,py32-jenkins
1ecad43 @kmike Doctests in docstrings are executed by tox via sphinx
kmike authored
3
60a3b9b @kmike test running for multiple python implementations
kmike authored
4 [testenv]
04f4191 @kmike Improved tox config: numpy is back but not required for pypy; local test...
kmike authored
5
6 ; simplify numpy installation
7 setenv =
e3639d2 @kmike Enable classify doctests. Install scipy and scikit-learn for tests (BLAS...
kmike authored
8 LAPACK=
04f4191 @kmike Improved tox config: numpy is back but not required for pypy; local test...
kmike authored
9 ATLAS=None
1ecad43 @kmike Doctests in docstrings are executed by tox via sphinx
kmike authored
10
11 deps =
04f4191 @kmike Improved tox config: numpy is back but not required for pypy; local test...
kmike authored
12 numpy
40b48a6 @kmike update tox.ini: nose and numpy with necessary patches are released
kmike authored
13 nose >= 1.2.1
92ad542 @kmike code coverage
kmike authored
14 coverage
97ef63b @kmike better unicode support for NLTK
kmike authored
15 text-unidecode
1ecad43 @kmike Doctests in docstrings are executed by tox via sphinx
kmike authored
16
04f4191 @kmike Improved tox config: numpy is back but not required for pypy; local test...
kmike authored
17 changedir = nltk/test
1ecad43 @kmike Doctests in docstrings are executed by tox via sphinx
kmike authored
18 commands =
ee1416e @kmike Test running using single command (nltk/test/runtests.py)
kmike authored
19 ; scipy and scikit-learn requires numpy even to run setup.py so
20 ; they can't be installed in one command
21
e3639d2 @kmike Enable classify doctests. Install scipy and scikit-learn for tests (BLAS...
kmike authored
22 pip install --download-cache={toxworkdir}/_download scipy scikit-learn
0e6013a @kmike don't do coverage reports by default
kmike authored
23 ; python runtests.py --with-coverage --cover-inclusive --cover-package=nltk --cover-html --cover-html-dir={envdir}/docs []
24 python runtests.py []
04f4191 @kmike Improved tox config: numpy is back but not required for pypy; local test...
kmike authored
25
26 [testenv:pypy]
60b9be4 @kmike deprecate nltk.classify.svm. See GH-450
kmike authored
27 ; numpy is bundled with pypy; coverage is extra slow and
28 ; the coverage results are not that different from CPython.
04f4191 @kmike Improved tox config: numpy is back but not required for pypy; local test...
kmike authored
29 deps =
40b48a6 @kmike update tox.ini: nose and numpy with necessary patches are released
kmike authored
30 nose >= 1.2.1
a6dfc4a @kmike python 3 tox test running
kmike authored
31
32 commands =
33 python runtests.py []
34
35 [testenv:py32]
36 deps =
40b48a6 @kmike update tox.ini: nose and numpy with necessary patches are released
kmike authored
37 numpy
38 nose >= 1.2.1
92ad542 @kmike code coverage
kmike authored
39 coverage
04f4191 @kmike Improved tox config: numpy is back but not required for pypy; local test...
kmike authored
40
7815a2c @kmike fix tox pypy test running
kmike authored
41 commands =
a6dfc4a @kmike python 3 tox test running
kmike authored
42 ; scipy and scikit-learn requires numpy even to run setup.py so
43 ; they can't be installed in one command
44
40b48a6 @kmike update tox.ini: nose and numpy with necessary patches are released
kmike authored
45 ; scikit-learn installation fails so scipy & scikit-learn are temporary disabled
a6dfc4a @kmike python 3 tox test running
kmike authored
46 ; pip install --download-cache={toxworkdir}/_download scipy scikit-learn
47
0e6013a @kmike don't do coverage reports by default
kmike authored
48 ; python runtests.py --with-coverage --cover-inclusive --cover-package=nltk --cover-html --cover-html-dir={envdir}/docs []
caa0cb3 @kmike Merge branch 'master' into 2and3
kmike authored
49 python runtests.py []
edd4e1e @kmike make it possible to run tox tests via tox without installing numpy, etc ...
kmike authored
50
02452cf @kmike Testing: don't install svmlight in Python 3.3 environment
kmike authored
51 [testenv:py33]
52 deps =
53 numpy
54 nose >= 1.2.1
55 coverage
56 text-unidecode
57
58 commands =
59 ; scipy and scikit-learn requires numpy even to run setup.py so
60 ; they can't be installed in one command
61 pip install --download-cache={toxworkdir}/_download scipy scikit-learn
62
63 ; python runtests.py --with-coverage --cover-inclusive --cover-package=nltk --cover-html --cover-html-dir={envdir}/docs []
64 python runtests.py []
65
edd4e1e @kmike make it possible to run tox tests via tox without installing numpy, etc ...
kmike authored
66
58da242 @kmike py26-nodeps and py32-nodeps tox environments
kmike authored
67 [testenv:py26-nodeps]
68 basepython = python2.6
69 deps = nose >= 1.2.1
70 commands = python runtests.py []
71
edd4e1e @kmike make it possible to run tox tests via tox without installing numpy, etc ...
kmike authored
72 [testenv:py27-nodeps]
73 basepython = python2.7
58da242 @kmike py26-nodeps and py32-nodeps tox environments
kmike authored
74 deps = nose >= 1.2.1
75 commands = python runtests.py []
edd4e1e @kmike make it possible to run tox tests via tox without installing numpy, etc ...
kmike authored
76
58da242 @kmike py26-nodeps and py32-nodeps tox environments
kmike authored
77 [testenv:py32-nodeps]
78 basepython = python3.2
79 deps = nose >= 1.2.1
80 commands = python runtests.py []
edd4e1e @kmike make it possible to run tox tests via tox without installing numpy, etc ...
kmike authored
81
82 [testenv:py33-nodeps]
83 basepython = python3.3
58da242 @kmike py26-nodeps and py32-nodeps tox environments
kmike authored
84 deps = nose >= 1.2.1
85 commands = python runtests.py []
edd4e1e @kmike make it possible to run tox tests via tox without installing numpy, etc ...
kmike authored
86
9dd4425 @hleeldc added files and fixed tox.ini for jenkins setup
hleeldc authored
87 [testenv:py26-jenkins]
88 basepython = python2.6
89 commands = {toxinidir}/jenkins.sh
90
91 [testenv:py32-jenkins]
92 basepython = python3.2
93 commands = {toxinidir}/jenkins.sh
Something went wrong with that request. Please try again.