2015-01-02 14:58:31 +00:00
|
|
|
language: python
|
2015-01-05 17:00:10 +00:00
|
|
|
|
2015-12-13 18:54:16 +00:00
|
|
|
sudo: required
|
2016-09-23 12:17:46 +00:00
|
|
|
dist: trusty
|
2015-12-13 18:54:16 +00:00
|
|
|
group: edge
|
2015-12-13 18:46:19 +00:00
|
|
|
|
2015-12-13 18:34:51 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2016-09-30 18:31:22 +00:00
|
|
|
- "3.5"
|
2015-12-13 18:34:51 +00:00
|
|
|
|
2015-01-05 17:00:10 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
2015-01-02 14:58:31 +00:00
|
|
|
install:
|
2016-02-09 18:34:24 +00:00
|
|
|
- "pip install -r requirements.txt"
|
2016-02-09 18:29:23 +00:00
|
|
|
- "pip install -e ."
|
2015-07-23 00:52:06 +00:00
|
|
|
- "mkdir -p corpora/en"
|
2015-07-23 02:41:28 +00:00
|
|
|
- "cd corpora/en"
|
|
|
|
- "wget --no-check-certificate http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz"
|
|
|
|
- "tar -xzf WordNet-3.0.tar.gz"
|
|
|
|
- "mv WordNet-3.0 wordnet"
|
|
|
|
- "cd ../../"
|
2015-12-07 05:50:26 +00:00
|
|
|
- "python bin/init_model.py en lang_data/ corpora/ data"
|
2015-12-18 10:34:50 +00:00
|
|
|
- "cp package.json data"
|
|
|
|
- "sputnik build data en_default.sputnik"
|
2016-01-16 08:56:12 +00:00
|
|
|
- "sputnik --name spacy install en_default.sputnik"
|
2015-12-15 09:50:10 +00:00
|
|
|
|
2015-12-18 16:47:06 +00:00
|
|
|
script:
|
2016-02-09 18:29:23 +00:00
|
|
|
- "pip install pytest"
|
|
|
|
- "python -m pytest spacy"
|