2015-01-02 17:58:31 +03:00
|
|
|
language: python
|
2015-01-05 20:00:10 +03:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
2015-01-02 17:58:31 +03:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
2015-11-25 09:58:05 +03:00
|
|
|
- "3.5"
|
2015-01-03 14:03:41 +03:00
|
|
|
|
2015-04-19 11:56:32 +03:00
|
|
|
# install dependencies
|
2015-01-02 17:58:31 +03:00
|
|
|
install:
|
2015-01-03 13:51:58 +03:00
|
|
|
- "pip install --upgrade setuptools"
|
2015-07-23 03:32:47 +03:00
|
|
|
- "pip install cython fabric fabtools"
|
|
|
|
- "pip install -r requirements.txt"
|
2015-07-23 03:38:14 +03:00
|
|
|
- "python setup.py build_ext --inplace"
|
2015-07-23 03:52:06 +03:00
|
|
|
- "mkdir -p corpora/en"
|
2015-07-23 05:41:28 +03: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 05:13:54 +03:00
|
|
|
- "export PYTHONPATH=`pwd`"
|
2015-12-07 08:50:26 +03:00
|
|
|
- "python bin/init_model.py en lang_data/ corpora/ data"
|
2015-12-18 13:34:50 +03:00
|
|
|
- "cp package.json data"
|
|
|
|
- "sputnik build data en_default.sputnik"
|
2015-12-15 17:34:27 +03:00
|
|
|
- "sputnik install en_default.sputnik"
|
2015-06-07 21:47:45 +03:00
|
|
|
|
2015-04-19 11:56:32 +03:00
|
|
|
# run tests
|
2015-01-05 11:31:40 +03:00
|
|
|
script:
|
2015-10-25 16:31:04 +03:00
|
|
|
- "py.test spacy/ -x"
|