spaCy/.travis.yml

33 lines
597 B
YAML
Raw Normal View History

2015-01-02 14:58:31 +00:00
language: python
2015-12-13 18:54:16 +00:00
sudo: required
2016-09-23 12:17:46 +00:00
dist: trusty
2015-12-13 18:54:16 +00:00
group: edge
2015-12-13 18:46:19 +00:00
2015-12-13 18:34:51 +00:00
python:
- "2.7"
2016-09-30 18:31:22 +00:00
- "3.5"
2015-12-13 18:34:51 +00:00
os:
- linux
2016-10-13 10:23:45 +00:00
env:
- VIA="pypi"
- VIA="compile"
2015-01-02 14:58:31 +00:00
install:
2016-02-09 18:34:24 +00:00
- "pip install -r requirements.txt"
2016-02-09 18:29:23 +00:00
- "pip install -e ."
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 ../../"
2016-10-12 17:37:28 +00:00
- "mkdir models/"
- "python bin/init_model.py en lang_data/ corpora/ models/en"
2015-12-15 09:50:10 +00:00
2015-12-18 16:47:06 +00:00
script:
2016-02-09 18:29:23 +00:00
- "pip install pytest"
2016-10-12 17:37:28 +00:00
- "SPACY_DATA=models/en python -m pytest spacy"