2015-01-02 14:58:31 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
2015-01-04 18:56:43 +00:00
|
|
|
- "pypy"
|
2015-01-03 11:03:41 +00:00
|
|
|
|
2015-01-02 14:58:31 +00:00
|
|
|
# command to install dependencies
|
|
|
|
install:
|
2015-01-03 10:51:58 +00:00
|
|
|
- "pip install --upgrade setuptools"
|
2015-01-04 19:20:56 +00:00
|
|
|
- "pip install spacy"
|
2015-01-03 10:51:58 +00:00
|
|
|
- "rm -rf spacy/"
|
2015-01-02 14:58:31 +00:00
|
|
|
# command to run tests
|
2015-01-05 08:31:40 +00:00
|
|
|
script:
|
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then py.test tests/
|
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then py.test-pypy tests/
|