mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
CI updates for python 3.5 (#6354)
* Update pip in CI * Use --prefer-binary * Use `--prefer-binary` * Delete all installed packages before testing source install * sdist install with --only-binary :all:
This commit is contained in:
parent
20d72de986
commit
90550552a0
|
@ -81,7 +81,7 @@ jobs:
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
python -m pip install -U setuptools
|
python -m pip install -U setuptools
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt --prefer-binary
|
||||||
displayName: 'Install dependencies'
|
displayName: 'Install dependencies'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
@ -95,9 +95,13 @@ jobs:
|
||||||
displayName: 'Delete source directory'
|
displayName: 'Delete source directory'
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
|
pip freeze > installed.txt
|
||||||
|
pip uninstall -y -r installed.txt
|
||||||
SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1)
|
SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1)
|
||||||
pip install dist/$SDIST
|
pip install dist/$SDIST --only-binary :all:
|
||||||
displayName: 'Install from sdist'
|
displayName: 'Install from sdist'
|
||||||
|
|
||||||
- script: python -m pytest --pyargs spacy
|
- script: |
|
||||||
|
pip install -r requirements.txt --prefer-binary
|
||||||
|
python -m pytest --pyargs spacy
|
||||||
displayName: 'Run tests'
|
displayName: 'Run tests'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user