Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
13148282
Commit
13148282
authored
Jan 19, 2020
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add azure pipelines from jaraco/skeleton
parent
b5022cdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
0 deletions
+71
-0
azure-pipelines.yml
azure-pipelines.yml
+71
-0
No files found.
azure-pipelines.yml
0 → 100644
View file @
13148282
# Create the project in Azure with:
# az devops project create --name $name --organization https://dev.azure.com/$org/ --visibility public
# then configure the pipelines (through web UI)
trigger
:
branches
:
include
:
-
'
*'
tags
:
include
:
-
'
*'
pool
:
vmimage
:
'
Ubuntu-18.04'
variables
:
-
group
:
Azure secrets
stages
:
-
stage
:
Test
jobs
:
-
job
:
'
Test'
strategy
:
matrix
:
Python36
:
python.version
:
'
3.6'
Python38
:
python.version
:
'
3.8'
maxParallel
:
4
steps
:
-
task
:
UsePythonVersion@0
inputs
:
versionSpec
:
'
$(python.version)'
architecture
:
'
x64'
-
script
:
python -m pip install tox
displayName
:
'
Install
tox'
-
script
:
|
tox -- --junit-xml=test-results.xml
displayName
:
'
run
tests'
-
task
:
PublishTestResults@2
inputs
:
testResultsFiles
:
'
**/test-results.xml'
testRunTitle
:
'
Python
$(python.version)'
condition
:
succeededOrFailed()
-
stage
:
Publish
dependsOn
:
Test
jobs
:
-
job
:
'
Publish'
steps
:
-
task
:
UsePythonVersion@0
inputs
:
versionSpec
:
'
3.8'
architecture
:
'
x64'
-
script
:
python -m pip install tox
displayName
:
'
Install
tox'
-
script
:
|
tox -e release
env
:
TWINE_PASSWORD
:
$(PyPI-token)
displayName
:
'
publish
to
PyPI'
condition
:
contains(variables['Build.SourceBranch'], 'tags')
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment