spaCy/.travis.yml
2015-12-15 11:49:30 +01:00

46 lines
1.2 KiB
YAML

language: python
sudo: required
dist: precise
group: edge
python:
- "2.7"
- "3.4"
os:
- linux
env:
- PIP_DATE=2015-01-01 PIP=1 INSTALL=0 DEVELOP=0
- PIP_DATE=2015-04-01 PIP=1 INSTALL=0 DEVELOP=0
- PIP_DATE=2015-07-01 PIP=1 INSTALL=0 DEVELOP=0
- PIP_DATE=2015-10-01 PIP=1 INSTALL=0 DEVELOP=0
- PIP_DATE=2015-01-01 PIP=0 INSTALL=1 DEVELOP=0
- PIP_DATE=2015-04-01 PIP=0 INSTALL=1 DEVELOP=0
- PIP_DATE=2015-07-01 PIP=0 INSTALL=1 DEVELOP=0
- PIP_DATE=2015-10-01 PIP=0 INSTALL=1 DEVELOP=0
- PIP_DATE=2015-01-01 PIP=0 INSTALL=0 DEVELOP=1
- PIP_DATE=2015-04-01 PIP=0 INSTALL=0 DEVELOP=1
- PIP_DATE=2015-07-01 PIP=0 INSTALL=0 DEVELOP=1
- PIP_DATE=2015-10-01 PIP=0 INSTALL=0 DEVELOP=1
install:
- pip install -U pip
- python pip-date.py $PIP_DATE pip setuptools wheel six
- pip install -r requirements.txt
- test $PIP = 1 && python setup.py sdist && pip install dist/*
- test $INSTALL = 1 && python setup.py install
- test $DEVELOP = 1 && python setup.py develop && pip install -e .
- pip install pytest
- pip list
script:
- mkdir tmp; cd tmp
- python -m spacy.en.download
- python -m pytest ../spacy/ -x --models --vectors --slow