-
Notifications
You must be signed in to change notification settings - Fork 575
/
azure-pipelines.yml
141 lines (136 loc) · 3.56 KB
/
azure-pipelines.yml
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# Schema docs at https://aka.ms/yaml
trigger:
- master
jobs:
- job: linux
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
check-whole-repo-tests:
TASK: check-whole-repo-tests
lint:
TASK: lint
lint-ruby:
TASK: lint-ruby
check-format:
TASK: check-format
check-rust-tests:
TASK: check-rust-tests
check-coverage:
TASK: check-coverage
check-pypy:
TASK: check-pypy
check-pypy3:
TASK: check-pypy3
check-py36:
TASK: check-py36
check-py27:
TASK: check-py27
check-py35:
TASK: check-py35
check-py37:
TASK: check-py37
check-quality:
TASK: check-quality
check-ruby-tests:
TASK: check-ruby-tests
check-unicode:
TASK: check-unicode
check-py27-typing:
TASK: check-py27-typing
check-nose:
TASK: check-nose
check-pytest30:
TASK: check-pytest30
check-django22:
TASK: check-django22
check-django21:
TASK: check-django21
check-django20:
TASK: check-django20
check-django111:
TASK: check-django111
check-pandas19:
TASK: check-pandas19
check-pandas22:
TASK: check-pandas22
check-pandas23:
TASK: check-pandas23
check-pandas24:
TASK: check-pandas24
steps:
- script: sudo apt-get update && sudo apt-get install libreadline-dev libsqlite3-dev
displayName: Install apt dependencies
- script: ./build.sh check-installed
displayName: Install Python
- script: ./build.sh
displayName: Run tests
- job: windows
pool:
vmImage: 'windows-2019'
strategy:
matrix:
check-py36-x64:
python.version: '3.6'
python.architecture: 'x64'
check-py36-x86:
python.version: '3.6'
python.architecture: 'x86'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: '$(python.architecture)'
- script: |
pip install --upgrade setuptools pip wheel
pip install setuptools -r requirements/test.txt
pip install hypothesis-python/[all]
displayName: Install dependencies
- script: |
cd hypothesis-python
pytest
displayName: Run tests
- job: windows_py2
pool:
vmImage: 'windows-2019'
strategy:
matrix:
check-py27-x64:
python.version: '2.7'
python.architecture: 'x64'
check-py27-x86:
python.version: '2.7'
python.architecture: 'x86'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: '$(python.architecture)'
- script: |
pip install --upgrade setuptools pip wheel
pip install setuptools -r requirements/test2.txt
pip install hypothesis-python/[all]
displayName: Install dependencies
- script: |
cd hypothesis-python
pytest
displayName: Run tests
- job: osx
pool:
vmImage: 'macOS-10.13'
strategy:
matrix:
check-py27:
TASK: check-py27
check-py36:
TASK: check-py36
steps:
- script: |
brew update
brew install readline xz ncurses
./build.sh install-core
displayName: Install dependencies
- script: ./build.sh
displayName: Run tests
# TODO: Deploy jobs dependent on above