Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Azure Pipelines #468

Merged
merged 1 commit into from Jul 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
43 changes: 0 additions & 43 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion CONTRIBUTING.rst
Expand Up @@ -96,7 +96,9 @@ Pull Requests
- If the pull request adds functionality, it is tested and the docs are updated.
- You've added yourself to ``AUTHORS.rst``.

4. Submit a pull request to ``marshmallow-code:dev`` or the appropriate maintenance branch. The `Travis CI <https://travis-ci.org/marshmallow-code/apispec>`_ build must be passing before your pull request is merged.
4. Submit a pull request to ``marshmallow-code:dev`` or the appropriate maintenance branch.
The `CI <https://dev.azure.com/sloria/sloria/_build/latest?definitionId=8&branchName=dev>`_
build must be passing before your pull request is merged.

Running Tests
*************
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -6,9 +6,9 @@ apispec
:target: https://pypi.org/project/apispec/
:alt: PyPI version

.. image:: https://badgen.net/travis/marshmallow-code/apispec/dev
:target: https://travis-ci.org/marshmallow-code/apispec
:alt: TravisCI build status
.. image:: https://dev.azure.com/sloria/sloria/_apis/build/status/marshmallow-code.apispec?branchName=dev
:target: https://dev.azure.com/sloria/sloria/_build/latest?definitionId=8&branchName=dev
:alt: Build status

.. image:: https://readthedocs.org/projects/apispec/badge/
:target: https://apispec.readthedocs.io/
Expand Down
38 changes: 38 additions & 0 deletions azure-pipelines.yml
@@ -0,0 +1,38 @@
trigger:
branches:
include: [dev, test-me-*]
tags:
include: ['*']

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

- docs
os: linux
- template: job--pypi-release.yml@sloria
parameters:
python: "3.7"
distributions: "sdist bdist_wheel"
dependsOn:
- tox_linux
6 changes: 0 additions & 6 deletions tox.ini
Expand Up @@ -3,7 +3,6 @@ envlist=
lint
py{27,35,36,37}-marshmallow2
py{35,36,37}-marshmallow3
webframeworks
docs

[testenv]
Expand All @@ -23,11 +22,6 @@ deps = -rdocs/requirements.txt
extras =
commands = sphinx-build docs/ docs/_build {posargs}

; Run tests against apispec-webframeworks
[testenv:webframeworks]
extras = tests,webframeworks-tests
commands = pytest --pyargs apispec_webframeworks

; Below tasks are for development only (not run in CI)

[testenv:watch-docs]
Expand Down