spaCy/.travis.yml

56 lines
1.2 KiB
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
dist: precise
group: edge
2015-12-13 21:46:19 +03:00
2015-12-13 21:34:51 +03:00
python:
- "2.7"
- "3.4"
os:
- linux
2015-12-14 09:28:07 +03:00
env:
2015-12-15 13:49:30 +03:00
- 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
2015-12-15 12:50:10 +03:00
2015-12-15 13:49:30 +03:00
- 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
2015-12-15 12:50:10 +03:00
2015-12-15 13:49:30 +03:00
- 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
2015-12-14 09:28:07 +03:00
2015-01-02 17:58:31 +03:00
install:
2015-12-15 01:22:48 +03:00
- pip install -U pip
2015-12-15 00:08:35 +03:00
- python pip-date.py $PIP_DATE pip setuptools wheel six
2015-12-13 21:40:44 +03:00
- pip install -r requirements.txt
2015-12-15 12:50:10 +03:00
2015-12-15 14:42:26 +03: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 12:50:10 +03:00
2015-12-15 12:26:17 +03:00
- pip install pytest
- pip list
2015-12-15 12:50:10 +03:00
2015-01-05 11:31:40 +03:00
script:
2015-12-13 22:30:51 +03:00
- mkdir tmp; cd tmp
2015-12-13 21:34:51 +03:00
- python -m spacy.en.download
2015-12-13 22:40:38 +03:00
- python -m pytest ../spacy/ -x --models --vectors --slow