File tree Expand file tree Collapse file tree 2 files changed +73
-0
lines changed
Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ Advanced descriptors
33
44.. image :: https://travis-ci.org/python-useful-helpers/advanced-descriptors.svg?branch=master
55 :target: https://travis-ci.org/python-useful-helpers/advanced-descriptors
6+ .. image :: https://dev.azure.com/python-useful-helpers/advanced-descriptors/_apis/build/status/python-useful-helpers.advanced-descriptors?branchName=master
7+ :alt: Azure DevOps builds
8+ :target: https://dev.azure.com/python-useful-helpers/advanced-descriptors/_build?definitionId=2
69.. image :: https://coveralls.io/repos/github/python-useful-helpers/advanced-descriptors/badge.svg?branch=master
710 :target: https://coveralls.io/github/python-useful-helpers/advanced-descriptors?branch=master
811.. image :: https://readthedocs.org/projects/advanced-descriptors/badge/?version=latest
@@ -208,6 +211,8 @@ For code checking several CI systems is used in parallel:
208211
2092122. `coveralls: <https://coveralls.io/github/python-useful-helpers/advanced-descriptors >`_ is used for coverage display.
210213
214+ 3. `Azure CI: <https://dev.azure.com/python-useful-helpers/advanced-descriptors/_build?definitionId=2 >`_ is used for functional tests on Windows.
215+
211216CD system
212217=========
213218`Travis CI: <https://travis-ci.org/python-useful-helpers/advanced-descriptors >`_ is used for package delivery on PyPI.
Original file line number Diff line number Diff line change 5050 parameters : {name: 'Python_37', python: '3.7', architecture: 'x64', kind: 'cython'}
5151- template : .azure_pipelines/run_tests.yml
5252 parameters : {name: 'Python_37', python: '3.7', architecture: 'x86', kind: 'cython'}
53+
54+ - job : ' Build_and_deploy'
55+ dependsOn :
56+ - Python_34_x64_native
57+ - Python_35_x64_native
58+ - Python_36_x64_native
59+ - Python_37_x64_native
60+
61+ - Python_34_x64_cython
62+ - Python_34_x86_cython
63+ - Python_35_x64_cython
64+ - Python_35_x86_cython
65+ - Python_36_x64_cython
66+ - Python_36_x86_cython
67+ - Python_37_x64_cython
68+ - Python_37_x86_cython
69+ condition : and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
70+ pool :
71+ vmIMage : ' VS2017-Win2016'
72+ strategy :
73+ maxParallel : 6
74+ matrix :
75+ Python34_x64 :
76+ python.version : ' 3.4'
77+ Python34_x86 :
78+ python.version : ' 3.4'
79+ architecture : ' x86'
80+ Python35_x64 :
81+ python.version : ' 3.5'
82+ Python35_x86 :
83+ python.version : ' 3.5'
84+ architecture : ' x86'
85+ Python36_x64 :
86+ python.version : ' 3.6'
87+ Python36_x86 :
88+ python.version : ' 3.6'
89+ architecture : ' x86'
90+ Python37_x64 :
91+ python.version : ' 3.7'
92+ Python37_x86 :
93+ python.version : ' 3.7'
94+ architecture : ' x86'
95+
96+ steps :
97+ - task : UsePythonVersion@0
98+ inputs :
99+ versionSpec : ' $(python.version)'
100+ architecture : ' x64'
101+
102+ - script : |
103+ python -m pip install --upgrade pip
104+ pip install -U setuptools
105+ pip install -r build_requirements.txt
106+ displayName: 'Install dependencies'
107+
108+ - script : |
109+ python setup.py bdist_wheel
110+ displayName: 'Build'
111+
112+ - task : TwineAuthenticate@0
113+ displayName : ' Twine Authenticate '
114+ inputs :
115+ externalFeeds : PyPI
116+
117+ - script : |
118+ pip install -U twine
119+ twine upload -r PyPI --config-file $(PYPIRC_PATH) dist/Advanced_Descriptors-* --skip-existing
120+ displayName: 'Deploy'
You can’t perform that action at this time.
0 commit comments