forked from stanfordnlp/stanza
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 832 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: python
python:
- 3.6.5
notifications:
email: false
install:
- pip install --quiet .
- export CORENLP_HOME=~/corenlp-latest CORENLP_VERSION=stanford-corenlp-latest
- export CORENLP_URL="http://nlp.stanford.edu/software/${CORENLP_VERSION}.zip"
- wget $CORENLP_URL -O corenlp-latest.zip
- unzip corenlp-latest.zip > unzip.log
- export CORENLP_UNZIP=`grep creating unzip.log | head -n 1 | cut -d ":" -f 2`
- mv $CORENLP_UNZIP $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
- cp tests/data/tiny_emb.* ~/stanza_test/in
- export STANZA_TEST_HOME=~/stanza_test
script:
- python -m pytest -m travis tests/