<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository upt-macports.
</pre>
<p><a href="https://github.com/macports/upt-macports/commit/d57b42fd837cdcd538470de8b13f6900a14be2b2">https://github.com/macports/upt-macports/commit/d57b42fd837cdcd538470de8b13f6900a14be2b2</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new d57b42f Set up CI with Azure Pipelines
</span>d57b42f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d57b42fd837cdcd538470de8b13f6900a14be2b2
</span>Author: Rainer Müller <raimue@codingfarm.de>
AuthorDate: Tue May 14 17:21:54 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> Set up CI with Azure Pipelines
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> [skip ci]
</span>---
azure-pipelines.yml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/azure-pipelines.yml b/azure-pipelines.yml
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7d405f9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/azure-pipelines.yml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,36 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Python package
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Create and test a Python package on multiple Python versions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://docs.microsoft.com/azure/devops/pipelines/languages/python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+trigger:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- master
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pool:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vmImage: 'ubuntu-latest'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+strategy:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ matrix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Python27:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.version: '2.7'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Python35:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.version: '3.5'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Python36:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.version: '3.6'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Python37:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.version: '3.7'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+steps:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- task: UsePythonVersion@0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ inputs:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ versionSpec: '$(python.version)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ displayName: 'Use Python $(python.version)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- script: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python -m pip install --upgrade pip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pip install -r requirements.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ displayName: 'Install dependencies'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- script: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pip install pytest pytest-azurepipelines
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pytest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ displayName: 'pytest'
</span></pre><pre style='margin:0'>
</pre>