blob: 8a11df9162121e6ae2a02558bdfb21d99fd5ca46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
language: python
python:
- 3.6.5
notifications:
email: false
install:
- pip install --quiet -e .
- export CORENLP_HOME=~/corenlp400 CORENLP_VERSION=stanford-corenlp-full-2020-04-20
- export CORENLP_URL="http://nlp.stanford.edu/software/${CORENLP_VERSION}.zip"
- wget $CORENLP_URL -O corenlp400.zip
- unzip corenlp400.zip
- mv $CORENLP_VERSION $CORENLP_HOME
- mkdir ~/stanza_test
- mkdir ~/stanza_test/in
- mkdir ~/stanza_test/out
- mkdir ~/stanza_test/scripts
- cp tests/data/external_server.properties ~/stanza_test/scripts
- cp tests/data/example_french.json ~/stanza_test/out
- export STANZA_TEST_HOME=~/stanza_test
script:
- python -m pytest -m travis tests/
|