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