File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 18
18
19
19
steps :
20
20
- template : ci/azure-pipelines-steps.yml
21
+ parameters :
22
+ platform : ubuntu
21
23
22
24
- job : ' Windows_Test'
23
25
pool :
35
37
36
38
steps :
37
39
- template : ci/azure-pipelines-steps.yml
40
+ parameters :
41
+ platform : windows
38
42
39
43
- job : ' macOS_Test'
40
44
pool :
49
53
50
54
steps :
51
55
- template : ci/azure-pipelines-steps.yml
56
+ parameters :
57
+ platform : macos
Original file line number Diff line number Diff line change
1
+ parameters :
2
+ platform : none
3
+
1
4
steps :
2
5
- task : UsePythonVersion@0
3
6
inputs :
@@ -13,12 +16,43 @@ steps:
13
16
# prerelease: true
14
17
# condition: and(succeeded(), eq(variables['python.version'], 'Pre'))
15
18
19
+
20
+ - ${{ if eq(parameters.platform, 'macos') }} :
21
+ - script : |
22
+ brew install pkg-config ffmpeg imagemagick mplayer ccache
23
+ displayName: 'Install dependencies with brew'
24
+
25
+ - ${{ if eq(parameters.platform, 'ubuntu') }} :
26
+ - script : |
27
+ sudo apt-add-repository ppa:jonathonf/ffmpeg-3
28
+ sudo apt-get update
29
+ sudo apt-get install \
30
+ cm-super \
31
+ dvipng \
32
+ ffmpeg \
33
+ gdb \
34
+ gir1.2-gtk-3.0 \
35
+ graphviz \
36
+ inkscape \
37
+ libcairo2 \
38
+ libgeos-dev \
39
+ libgirepository-1.0.1 \
40
+ lmodern \
41
+ otf-freefont \
42
+ pgf \
43
+ texlive-fonts-recommended \
44
+ texlive-latex-base \
45
+ texlive-latex-extra \
46
+ texlive-latex-recommended \
47
+ texlive-xetex texlive-luatex
48
+ displayName: 'Install dependencies with apt'
49
+
16
50
- script : |
17
51
18
52
python -m pip install --upgrade pip
19
53
pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt
20
54
21
- displayName : ' Install dependencies'
55
+ displayName : ' Install dependencies with pip '
22
56
23
57
- script : |
24
58
You can’t perform that action at this time.
0 commit comments