Skip to content

Commit

Permalink
Fix CI on Windows (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Nov 14, 2019
1 parent 8c992da commit a54f25e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
8 changes: 6 additions & 2 deletions .azure-pipelines/stage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,15 @@ stages:
displayName: 'Cythonize'
- script: |
python -m pip install -r requirements/ci.txt
displayName: 'Install dependencies'
python setup.py install
displayName: 'Install itself'
env:
MULTIDICT_NO_EXTENSIONS: '$(no_extensions)'
- script: |
python -m pip install -r requirements/pytest.txt
displayName: 'Install dependencies'
- script: |
python -m pip install pytest-azurepipelines
displayName: 'Install pytest-azurepipelines'
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/*.pickle.* binary
3 changes: 1 addition & 2 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pytest==5.2.2
pytest-cov==2.8.1
-e .
-r pytest.txt
2 changes: 2 additions & 0 deletions requirements/pytest.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pytest==5.2.2
pytest-cov==2.8.1
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()


name = "multidict"
appveyor_slug = "asvetlov/{}".format(name) # FIXME: move under aio-libs/* slug
repo_slug = "aio-libs/{}".format(name)
repo_url = "https://github.com/{}".format(repo_slug)

args = dict(
name="multidict",
version=version,
Expand All @@ -86,7 +81,7 @@ def read(f):
],
author="Andrew Svetlov",
author_email="[email protected]",
url=repo_url,
url="https://github.com/aio-libs/multidict",
project_urls={
"Chat: Gitter": "https://gitter.im/aio-libs/Lobby",
"CI: Azure Pipelines": "https://dev.azure.com/aio-libs/multidict/_build",
Expand All @@ -97,7 +92,7 @@ def read(f):
},
license="Apache 2",
packages=["multidict"],
python_requires=">=3.5.3",
python_requires=">=3.5",
include_package_data=True,
)

Expand Down

0 comments on commit a54f25e

Please sign in to comment.