2015-01-02 14:58:31 +00:00
|
|
|
language: python
|
2015-01-05 17:00:10 +00:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2015-01-02 14:58:31 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
2015-01-03 11:03:41 +00:00
|
|
|
|
2015-04-19 08:56:32 +00:00
|
|
|
# install dependencies
|
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-07-23 00:32:47 +00:00
|
|
|
- "python bin/init_model.py lang_data/en corpora/en spacy/en/data"
|
2015-07-23 03:58:26 +00:00
|
|
|
- "export SPACY_DATA='`pwd`/spacy/en/data"
|
2015-06-07 18:47:45 +00:00
|
|
|
|
2015-04-19 08:56:32 +00:00
|
|
|
# run tests
|
2015-01-05 08:31:40 +00:00
|
|
|
script:
|
2015-07-23 03:58:26 +00:00
|
|
|
- "py.test -x"
|