FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/azure-pipelines.yml at master · spatten/matplotlib · GitHub
spatten
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
azure-pipelines.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
124 lines (111 loc) · 3.25 KB
Breadcrumbs
matplotlib
/
azure-pipelines.yml
Copy path
File metadata and controls
124 lines (111 loc) · 3.25 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#
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
strategy
:
matrix
:
Linux_py37
:
vmImage
:
'
ubuntu-18.04
'
python.version
:
'
3.7
'
Linux_py38
:
vmImage
:
'
ubuntu-18.04
'
python.version
:
'
3.8
'
Linux_py39
:
vmImage
:
'
ubuntu-18.04
'
python.version
:
'
3.9
'
macOS_py37
:
vmImage
:
'
macOS-10.15
'
python.version
:
'
3.7
'
macOS_py38
:
vmImage
:
'
macOS-latest
'
python.version
:
'
3.8
'
macOS_py39
:
vmImage
:
'
macOS-latest
'
python.version
:
'
3.9
'
Windows_py37
:
vmImage
:
'
vs2017-win2016
'
python.version
:
'
3.7
'
Windows_py38
:
vmImage
:
'
windows-latest
'
python.version
:
'
3.8
'
Windows_py39
:
vmImage
:
'
windows-latest
'
python.version
:
'
3.9
'
maxParallel
:
4
pool
:
vmImage
:
'
$(vmImage)
'
steps
:
-
task
:
UsePythonVersion@0
inputs
:
versionSpec
:
'
$(python.version)
'
architecture
:
'
x64
'
displayName
:
'
Use Python $(python.version)
'
condition
:
and(succeeded(), ne(variables['python.version'], 'Pre'))
-
task
:
stevedower.python.InstallPython.InstallPython@1
displayName
:
'
Use prerelease Python
'
inputs
:
prerelease
:
true
condition
:
and(succeeded(), eq(variables['python.version'], 'Pre'))
-
bash
:
|
set -e
case "$(python -c 'import sys; print(sys.platform)')" in
linux)
sudo apt update
sudo apt install \
cm-super \
dvipng \
ffmpeg \
gdb \
gir1.2-gtk-3.0 \
graphviz \
inkscape \
libcairo2 \
libgirepository-1.0.1 \
lmodern \
fonts-freefont-otf \
poppler-utils \
texlive-pictures \
texlive-fonts-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
texlive-xetex texlive-luatex \
ttf-wqy-zenhei
;;
darwin)
brew install --cask xquartz
brew install pkg-config ffmpeg imagemagick mplayer ccache
;;
win32)
;;
*)
exit 1
;;
esac
displayName
:
'
Install dependencies
'
-
bash
:
|
python -m pip install --upgrade pip
python -m pip install -r requirements/testing/all.txt -r requirements/testing/extra.txt ||
[[ "$PYTHON_VERSION" = 'Pre' ]]
displayName
:
'
Install dependencies with pip
'
-
bash
:
|
python -m pip install -ve . ||
[[ "$PYTHON_VERSION" = 'Pre' ]]
displayName
:
"
Install self
"
-
script
:
env
displayName
:
'
print env
'
-
bash
:
|
PYTHONFAULTHANDLER=1 python -m pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 ||
[[ "$PYTHON_VERSION" = 'Pre' ]]
displayName
:
'
pytest
'
-
bash
:
|
bash <(curl -s https://codecov.io/bash) -f "!*.gcov" -X gcov
displayName
:
'
Upload to codecov.io
'
-
task
:
PublishTestResults@2
inputs
:
testResultsFiles
:
'
**/test-results.xml
'
testRunTitle
:
'
Python $(python.version)
'
condition
:
succeededOrFailed()
-
publish
:
$(System.DefaultWorkingDirectory)/result_images
artifact
:
$(Agent.JobName)-result_images
condition
:
and(failed(), ne(variables['python.version'], 'Pre'))
Back
|
FazBrowse Home
|
New Git URL