You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- all python versions run the `py-travis` tox test environment in the [`tox.ini`](https://github.com/nltk/nltk/blob/travis/tox.ini#L105) file
160
161
- tests against Python 3.6 for third-party tools APIs
161
162
162
-
-`before_install:` section
163
+
-`before_install:` section
163
164
- checks the Java and Python version calling the `tools/travis/pre-install.sh` script
164
165
- changes the permission for `tools/travis/coverage-pylint.sh` to allow it to be executable
165
166
- changes the permission for `tools/travis/third-party.sh` to allow it to be executable
166
-
167
+
167
168
-`install` section
168
169
- the `tools/travis/install.sh` installs the `pip-req.txt` for NLTK and the necessary python packages for CI testing
169
170
- install `tox` for testing
170
-
171
-
-`py-travis` tox test environment generally
171
+
172
+
-`py-travis` tox test environment generally
172
173
- the `extras = all` dependencies in needed to emulate `pip install nltk[all]`, see https://tox.readthedocs.io/en/latest/config.html#confval-extras=MULTI-LINE-LIST
173
174
- for the `py-travis-third-party` build, it will run `tools/travis/third-party.sh` to install third-party tools (Stanford NLP tools and CoreNLP and SENNA)
174
175
- calls `tools/travis/coverage-pylint.sh` shell script that calls `pytest` with [`pytest-cov`](https://pytest-cov.readthedocs.io/) and
175
176
- calls `pylint` # Currently, disabled because there's lots to clean...
176
177
177
178
- before returning a `true` to state that the build is successful
178
-
179
-
179
+
180
+
180
181
#### To test with `tox` locally
181
182
182
183
First setup a new virtual environment, see https://docs.python-guide.org/dev/virtualenvs/
0 commit comments