mirror of https://github.com/explosion/spaCy.git
Disable init_model.py test, which will be replaced with new model creation logic.
This commit is contained in:
parent
614ca6fb41
commit
5e970307f5
26
travis.sh
26
travis.sh
|
@ -7,7 +7,7 @@ if [ "${VIA}" == "pypi" ]; then
|
||||||
python -m spacy.de.download
|
python -m spacy.de.download
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${VIA}" == "sdist" ]; then
|
if [ "${VIA}" == "sdist" && "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
rm -rf *
|
rm -rf *
|
||||||
pip uninstall spacy
|
pip uninstall spacy
|
||||||
wget https://api.explosion.ai/build/spacy/sdist/$TRAVIS_COMMIT
|
wget https://api.explosion.ai/build/spacy/sdist/$TRAVIS_COMMIT
|
||||||
|
@ -16,15 +16,15 @@ if [ "${VIA}" == "sdist" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "${VIA}" == "compile" ]; then
|
#if [ "${VIA}" == "compile" ]; then
|
||||||
pip install -r requirements.txt
|
# pip install -r requirements.txt
|
||||||
pip install -e .
|
# pip install -e .
|
||||||
mkdir -p corpora/en
|
# mkdir -p corpora/en
|
||||||
cd corpora/en
|
# cd corpora/en
|
||||||
wget --no-check-certificate http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz
|
# wget --no-check-certificate http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz
|
||||||
tar -xzf WordNet-3.0.tar.gz
|
# tar -xzf WordNet-3.0.tar.gz
|
||||||
mv WordNet-3.0 wordnet
|
# mv WordNet-3.0 wordnet
|
||||||
cd ../../
|
# cd ../../
|
||||||
mkdir models/
|
# mkdir models/
|
||||||
python bin/init_model.py en lang_data/ corpora/ models/en
|
# python bin/init_model.py en lang_data/ corpora/ models/en
|
||||||
fi
|
#fi
|
||||||
|
|
Loading…
Reference in New Issue