2 Star 5 Fork 1

Git工具集/PyGitUp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
Markus Siemens 提交于 2019-07-04 03:26 +08:00 . CI: Disable coveralls uploads for now
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
trigger:
- master
strategy:
matrix:
Python27:
python.version: '2.7'
imageName: 'ubuntu-16.04'
Python34:
python.version: '3.4'
imageName: 'ubuntu-16.04'
Python35:
python.version: '3.5'
imageName: 'ubuntu-16.04'
Python36:
python.version: '3.6'
imageName: 'ubuntu-16.04'
Python37:
python.version: '3.7'
imageName: 'ubuntu-16.04'
Mac_Python27:
python.version: '2.7'
imageName: 'macos-10.13'
Mac_Python37:
python.version: '3.7'
imageName: 'macos-10.13'
Windows_Python27:
python.version: '2.7'
imageName: 'vs2017-win2016'
Windows_Python37:
python.version: '3.7'
imageName: 'vs2017-win2016'
pool:
vmImage: $(imageName)
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- script: |
git config --global user.email user@example.com
git config --global user.name "Example User"
displayName: 'Configure git user/email'
- script: |
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
pip install -r requirements.txt
python setup.py develop
pip install pytest pytest-azurepipelines pytest-cov coveralls
displayName: 'Install dependencies'
- script: |
pytest PyGitUp/tests --cov=PyGitUp --cov-report=html:$(Build.SourcesDirectory)/htmlcov
displayName: 'Run tests'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/vcs-all-in-one/PyGitUp.git
git@gitee.com:vcs-all-in-one/PyGitUp.git
vcs-all-in-one
PyGitUp
PyGitUp
master

搜索帮助