2015-01-02 17:58:31 +03:00
|
|
|
language: python
|
2015-01-05 20:00:10 +03:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2015-01-02 17:58:31 +03:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
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-07-23 03:32:47 +03:00
|
|
|
- "python bin/init_model.py lang_data/en corpora/en spacy/en/data"
|
2015-07-23 07:06:13 +03:00
|
|
|
- "export SPACY_DATA='`pwd`/spacy/en/data'"
|
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-07-23 06:58:26 +03:00
|
|
|
- "py.test -x"
|