Remove --prefer-binary and --only-binary from CI

This commit is contained in:
Adriane Boyd 2020-11-25 12:24:11 +01:00
parent cf693f0eae
commit 40c583a41b

View File

@ -84,7 +84,7 @@ jobs:
- script: | - script: |
python -m pip install -U pip setuptools python -m pip install -U pip setuptools
pip install -r requirements.txt --prefer-binary pip install -r requirements.txt
displayName: 'Install dependencies' displayName: 'Install dependencies'
- script: | - script: |
@ -104,10 +104,10 @@ jobs:
- bash: | - bash: |
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 --only-binary :all: pip install dist/$SDIST
displayName: 'Install from sdist' displayName: 'Install from sdist'
- script: | - script: |
pip install -r requirements.txt --prefer-binary pip install -r requirements.txt
python -m pytest --pyargs spacy python -m pytest --pyargs spacy
displayName: 'Run tests' displayName: 'Run tests'