spaCy/.travis.yml

29 lines
622 B
YAML
Raw Normal View History

2015-01-02 14:58:31 +00:00
language: python
os:
- linux
2015-01-02 14:58:31 +00:00
python:
- "2.7"
- "3.4"
2015-11-25 06:58:05 +00:00
- "3.5"
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-09-12 16:38:59 +00:00
- "python bin/init_model.py en lang_data/ corpora/ 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-10-25 13:31:04 +00:00
- "py.test spacy/ -x"