spaCy/.travis.yml

45 lines
820 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
dist: precise
group: edge
2015-12-13 18:46:19 +00:00
2015-12-13 18:34:51 +00:00
python:
- "2.7"
- "3.4"
os:
- linux
2015-12-14 06:28:07 +00:00
env:
2015-12-15 10:49:30 +00:00
- PIP_DATE=2015-10-01 PIP=1 INSTALL=0 DEVELOP=0
- PIP_DATE=2015-10-01 PIP=0 INSTALL=1 DEVELOP=0
- PIP_DATE=2015-10-01 PIP=0 INSTALL=0 DEVELOP=1
2015-12-14 06:28:07 +00:00
2015-01-02 14:58:31 +00:00
install:
2015-12-14 22:22:48 +00:00
- pip install -U pip
2015-12-14 21:08:35 +00:00
- python pip-date.py $PIP_DATE pip setuptools wheel six
2015-12-13 18:40:44 +00:00
- pip install -r requirements.txt
2015-12-15 09:50:10 +00:00
2015-12-15 11:42:26 +00:00
- if [[ "$PIP" == "1" ]]; then
python setup.py sdist;
pip install dist/*;
fi
- if [[ "$INSTALL" == "1" ]]; then
python setup.py install;
fi
- if [[ "$DEVELOP" == "1" ]]; then
python setup.py develop;
pip install -e .;
fi
2015-12-15 09:50:10 +00:00
2015-12-15 09:26:17 +00:00
- pip install pytest
- pip list
2015-12-15 09:50:10 +00:00
2015-01-05 08:31:40 +00:00
script:
2015-12-13 19:30:51 +00:00
- mkdir tmp; cd tmp
2015-12-13 18:34:51 +00:00
- python -m spacy.en.download
2015-12-13 19:40:38 +00:00
- python -m pytest ../spacy/ -x --models --vectors --slow