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
|
|
|
|
dist: precise
|
|
|
|
group: edge
|
2015-12-13 18:46:19 +00:00
|
|
|
|
2015-12-13 18:34:51 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
|
|
|
|
2015-01-05 17:00:10 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
2015-12-14 06:28:07 +00:00
|
|
|
env:
|
2015-12-18 17:04:26 +00:00
|
|
|
- PIP_DATE=2015-10-01 MODE=pip
|
|
|
|
- PIP_DATE=2015-10-01 MODE=setup-install
|
|
|
|
- PIP_DATE=2015-10-01 MODE=setup-develop
|
2015-12-14 06:28:07 +00:00
|
|
|
|
2015-01-02 14:58:31 +00:00
|
|
|
install:
|
2015-01-03 10:51:58 +00:00
|
|
|
- "pip install --upgrade setuptools"
|
2015-07-23 00:32:47 +00:00
|
|
|
- "pip install cython fabric fabtools"
|
|
|
|
- "pip install -r requirements.txt"
|
2015-07-23 00:38:14 +00:00
|
|
|
- "python setup.py build_ext --inplace"
|
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-07-23 02:13:54 +00:00
|
|
|
- "export PYTHONPATH=`pwd`"
|
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:
|
2015-12-18 17:04:26 +00:00
|
|
|
- python build.py $MODE;
|
2015-12-18 16:47:06 +00:00
|
|
|
- python build.py test
|