1trigger:
2  branches:
3    include: [dev, test-me-*]
4  tags:
5    include: ['*']
6
7# Run builds nightly to catch incompatibilities with new marshmallow releases
8schedules:
9- cron: "0 0 * * *"
10  displayName: Daily midnight build
11  branches:
12    include:
13      - dev
14  always: "true"
15
16resources:
17  repositories:
18    - repository: sloria
19      type: github
20      endpoint: github
21      name: sloria/azure-pipeline-templates
22      ref: refs/heads/sloria
23
24jobs:
25- template: job--python-tox.yml@sloria
26  parameters:
27    toxenvs:
28      - lint
29      - mypy
30      - py36
31      - py36-mindeps
32      - py37
33      - py38
34      - py39
35      - py39-marshmallowdev
36      - docs
37    os: linux
38# Build wheels
39- template: job--pypi-release.yml@sloria
40  parameters:
41    python: "3.9"
42    distributions: "sdist bdist_wheel"
43    dependsOn:
44      - tox_linux
45