mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Try testing sdist built on server.
This commit is contained in:
parent
6d8cb515ac
commit
7b51990f3a
|
@ -14,6 +14,7 @@ os:
|
|||
env:
|
||||
- VIA="pypi"
|
||||
- VIA="compile"
|
||||
- VIA="sdist"
|
||||
|
||||
install:
|
||||
- "./travis.sh"
|
||||
|
@ -21,4 +22,5 @@ install:
|
|||
script:
|
||||
- "pip install pytest"
|
||||
- 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
|
||||
|
||||
if [ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pypi" ]; then
|
||||
if [ "${VIA}" == "pypi" ]; then
|
||||
rm -rf *
|
||||
pip install spacy
|
||||
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
|
||||
pip install -r requirements.txt
|
||||
|
|
Loading…
Reference in New Issue
Block a user