spaCy/.travis.yml

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