spaCy/.travis.yml

28 lines
627 B
YAML
Raw Normal View History

2015-01-02 17:58:31 +03:00
language: python
os:
- linux
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-09-12 19:38:59 +03:00
- "python bin/init_model.py en lang_data/ corpora/ 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-09-24 17:57:11 +03:00
- "py.test tests/ website/tests/ -x"