spaCy/.travis.yml
Matthew Honnibal bd0e95d23e Fix travis
2016-10-15 02:00:23 +02:00

27 lines
419 B
YAML

language: python
sudo: false
dist: trusty
group: edge
python:
- "2.7"
- "3.5"
os:
- linux
env:
- VIA="pypi"
- VIA="compile"
- VIA="sdist"
install:
- "./travis.sh"
script:
- "pip install pytest"
- if [[ "${VIA}" == "compile" ]]; then SPACY_DATA=models/en python -m pytest spacy; fi
- if [[ "${VIA}" == "pip" ]]; then py.test spacy; fi
- if [[ "${VIA}" == "sdist" ]]; then py.test spacy; fi