mirror of https://github.com/explosion/spaCy.git
get travis running
This commit is contained in:
parent
2d4efe40f9
commit
e15727dd09
26
.travis.yml
26
.travis.yml
|
@ -1,28 +1,14 @@
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
|
sudo: required
|
||||||
|
dist: precise
|
||||||
|
group: edge
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
python:
|
|
||||||
- "2.7"
|
|
||||||
- "3.4"
|
|
||||||
- "3.5"
|
|
||||||
|
|
||||||
# install dependencies
|
|
||||||
install:
|
install:
|
||||||
- "pip install --upgrade setuptools"
|
- pip install tox
|
||||||
- "pip install cython fabric fabtools"
|
|
||||||
- "pip install -r requirements.txt"
|
|
||||||
- "python setup.py build_ext --inplace"
|
|
||||||
- "mkdir -p corpora/en"
|
|
||||||
- "cd corpora/en"
|
|
||||||
- "wget --no-check-certificate http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz"
|
|
||||||
- "tar -xzf WordNet-3.0.tar.gz"
|
|
||||||
- "mv WordNet-3.0 wordnet"
|
|
||||||
- "cd ../../"
|
|
||||||
- "export PYTHONPATH=`pwd`"
|
|
||||||
- "python bin/init_model.py en lang_data/ corpora/ spacy/en/data"
|
|
||||||
|
|
||||||
# run tests
|
|
||||||
script:
|
script:
|
||||||
- "py.test spacy/ -x"
|
- tox
|
||||||
|
|
Loading…
Reference in New Issue