spaCy/.travis.yml

39 lines
890 B
YAML
Raw Normal View History

2015-01-02 17:58:31 +03:00
language: python
2015-12-13 21:54:16 +03:00
sudo: required
dist: precise
group: edge
2015-12-13 21:46:19 +03:00
2015-12-13 21:34:51 +03:00
python:
- "2.7"
- "3.4"
os:
- linux
2015-12-14 09:28:07 +03:00
env:
2015-12-18 20:04:26 +03:00
- PIP_DATE=2015-10-01 MODE=pip
- PIP_DATE=2015-10-01 MODE=setup-install
- PIP_DATE=2015-10-01 MODE=setup-develop
2015-12-14 09:28:07 +03:00
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"
- "sputnik --name spacy install en_default.sputnik"
2015-12-15 12:50:10 +03:00
2015-12-18 19:47:06 +03:00
script:
2015-12-18 20:04:26 +03:00
- python build.py $MODE;
2015-12-18 19:47:06 +03:00
- python build.py test