spaCy/.travis.yml

47 lines
1.0 KiB
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 09:50:10 +00:00
- PIP_DATE=2015-01-01 PIP_INSTALL=1
- PIP_DATE=2015-04-01 PIP_INSTALL=1
- PIP_DATE=2015-07-01 PIP_INSTALL=1
- PIP_DATE=2015-10-01 PIP_INSTALL=1
- PIP_DATE=2015-01-01 SETUP_INSTALL=1
- PIP_DATE=2015-04-01 SETUP_INSTALL=1
- PIP_DATE=2015-07-01 SETUP_INSTALL=1
- PIP_DATE=2015-10-01 SETUP_INSTALL=1
- PIP_DATE=2015-01-01 SETUP_DEVELOP=1
- PIP_DATE=2015-04-01 SETUP_DEVELOP=1
- PIP_DATE=2015-07-01 SETUP_DEVELOP=1
- PIP_DATE=2015-10-01 SETUP_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
- test $PIP_INSTALL = 1 && python setup.py sdist && pip install dist/*
- test $SETUP_INSTALL = 1 && python setup install
- test $SETUP_DEVELOP = 1 && python setup develop && pip install -e .
2015-12-15 09:26:17 +00:00
- pip install pytest
- pip list
2015-12-15 09:50:10 +00:00
2015-06-07 18:47:45 +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