Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with wheel automation from first attempt #589

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ jobs:
- CIBW_TEST_REQUIRES="git+https://github.com/Qiskit/qiskit-terra.git"
if: tag IS present
script:
- pip install -U pip virtualenv
- pip install -U pip virtualenv twine
- pip install cibuildwheel==1.1.0
- cibuildwheel --output-dir wheelhouse
- twine upload wheelhouse/*
Expand All @@ -280,7 +280,8 @@ jobs:
env:
- TWINE_USERNAME=qiskit
python: 3.7
before_script: true
before_script:
- pip install -U pip setuptools virtualenv twine
install: true
script:
- python setup.py sdist
Expand Down
10 changes: 8 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
# https://docs.microsoft.com/azure/devops/pipelines/languages/python

trigger:
- master
- stable
branches:
include:
- master
- stable/*
tags:
include:
- '*'

stages:
- stage: 'Wheel_Builds'
Expand Down Expand Up @@ -55,6 +60,7 @@ stages:
inputs: {pathtoPublish: 'wheelhouse'}
condition: succeededOrFailed()
- bash: |
pip install -U twine
twine upload wheelhouse/*
env:
TWINE_PASSWORD: $(TWINE_PASSWORD)
Expand Down