mirror of https://github.com/explosion/spaCy.git
Try testing sdist built on server.
This commit is contained in:
parent
6d8cb515ac
commit
7b51990f3a
|
@ -14,6 +14,7 @@ os:
|
||||||
env:
|
env:
|
||||||
- VIA="pypi"
|
- VIA="pypi"
|
||||||
- VIA="compile"
|
- VIA="compile"
|
||||||
|
- VIA="sdist"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- "./travis.sh"
|
- "./travis.sh"
|
||||||
|
@ -21,4 +22,5 @@ install:
|
||||||
script:
|
script:
|
||||||
- "pip install pytest"
|
- "pip install pytest"
|
||||||
- if [[ "${VIA}" == "compile" ]]; then SPACY_DATA=models/en python -m pytest spacy; fi
|
- if [[ "${VIA}" == "compile" ]]; then SPACY_DATA=models/en python -m pytest spacy; fi
|
||||||
- if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pip" ]]; then python -m pytest spacy; fi
|
- if [[ "${VIA}" == "pip" ]]; then python -m pytest spacy; fi
|
||||||
|
- if [[ "${VIA}" == "sdist" ]]; then python -m pytest spacy; fi
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pypi" ]; then
|
if [ "${VIA}" == "pypi" ]; then
|
||||||
rm -rf *
|
rm -rf *
|
||||||
pip install spacy
|
pip install spacy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${VIA}" == "sdist" ]; then
|
||||||
|
rm -rf *
|
||||||
|
wget https://api.explosion.ai/build/spaCy/$TRAVIS_COMMIT spacy.tgz
|
||||||
|
pip install spacy.tgz
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "${VIA}" == "compile" ]; then
|
if [ "${VIA}" == "compile" ]; then
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue