-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
24 lines (21 loc) · 1.09 KB
/
.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
24
language: python
rvm:
- 2.7.9
# command to install dependencies
install:
- pip install -r ./requirements.txt
- wget http://nlp.stanford.edu/software/stanford-corenlp-full-2017-06-09.zip
- unzip stanford-corenlp-full-2017-06-09.zip
- wget https://www.dropbox.com/s/ec3a4ey7s0k6qgy/FINAL-ner-model.AImed%2BMedTag%2BBioInfer.ser.gz?dl=0 -O FINAL-ner-model.AImed+MedTag+BioInfer.ser.gz
- wget http://nlp.stanford.edu/software/stanford-english-corenlp-2017-06-09-models.jar -O stanford-corenlp-full-2017-06-09/stanford-english-corenlp-2017-06-09-models.jar
- cd stanford-corenlp-full-2017-06-09/
- java -mx1000m -cp ./stanford-corenlp-3.8.0.jar:stanford-english-corenlp-2017-06-09-models.jar edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -serverProperties ../ppaxe/data/server.properties &
- wget https://www.dropbox.com/s/t6qcl19g536c0zu/RF_scikit.pkl?dl=0 -O ../ppaxe/data/RF_scikit.pkl
- pip install ../
- pip install pytest-cov
- pip install coveralls
- cd ..
# command to run tests
script: export PYTHONPATH=. && pytest --cov=ppaxe/ tests/
after_success:
- coveralls