Codebase list python-webargs / ca5f6358-14a2-4932-82c3-43c79096fa6e/main azure-pipelines.yml
ca5f6358-14a2-4932-82c3-43c79096fa6e/main

Tree @ca5f6358-14a2-4932-82c3-43c79096fa6e/main (Download .tar.gz)

azure-pipelines.yml @ca5f6358-14a2-4932-82c3-43c79096fa6e/mainraw · history · blame

trigger:
  branches:
    include: [dev, test-me-*]
  tags:
    include: ['*']

# Run builds nightly to catch incompatibilities with new marshmallow releases
schedules:
- cron: "0 0 * * *"
  displayName: Daily midnight build
  branches:
    include:
      - dev
  always: "true"

resources:
  repositories:
    - repository: sloria
      type: github
      endpoint: github
      name: sloria/azure-pipeline-templates
      ref: refs/heads/sloria

jobs:
- template: job--python-tox.yml@sloria
  parameters:
    toxenvs:
      - lint
      - py27-marshmallow2

      - py35-marshmallow2
      - py35-marshmallow3

      - py36-marshmallow2
      - py36-marshmallow3

      - py37-marshmallow2
      - py37-marshmallow3

      - py37-marshmallowdev

      - docs
    os: linux
# Build separate wheels for python 2 and 3
- template: job--pypi-release.yml@sloria
  parameters:
    python: "3.7"
    distributions: "sdist bdist_wheel"
    name_postfix: "_py3"
    dependsOn:
      - tox_linux
- template: job--pypi-release.yml@sloria
  parameters:
    python: "2.7"
    distributions: "bdist_wheel"
    name_postfix: "_py2"
    dependsOn:
      - tox_linux