Skip to content

Commit 3b622b0

Browse files
authored
Replace Appveyor with Azure Pipelines in README and contributor guide (pydata#3052)
* Replace Appveyor with Azure Pipelines in README and contributor guide * Delete coveralls upload * doc note on auto-cancelling
1 parent cc1972a commit 3b622b0

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ xarray: N-D labeled arrays and datasets
33

44
.. image:: https://travis-ci.org/pydata/xarray.svg?branch=master
55
:target: https://travis-ci.org/pydata/xarray
6-
.. image:: https://ci.appveyor.com/api/projects/status/github/pydata/xarray?svg=true&passingText=passing&failingText=failing&pendingText=pending
7-
:target: https://ci.appveyor.com/project/shoyer/xray
6+
.. image:: https://dev.azure.com/xarray/xarray/_apis/build/status/pydata.xarray?branchName=master
7+
:target: https://dev.azure.com/xarray/xarray/_build/latest?definitionId=1&branchName=master
88
.. image:: https://coveralls.io/repos/pydata/xarray/badge.svg
99
:target: https://coveralls.io/r/pydata/xarray
1010
.. image:: https://readthedocs.org/projects/xray/badge/?version=latest

ci/azure/unit-tests.yml

-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ steps:
1616
# TODO: publish coverage results to Azure, once we can merge them across
1717
# multiple jobs: https://stackoverflow.com/questions/56776185
1818

19-
- bash: |
20-
source activate test_env
21-
COVERALLS_REPO_TOKEN=$(coverallsToken) COVERALLS_PARALLEL=true coveralls
22-
condition: succeededOrFailed()
23-
displayName: Upload coverage to coveralls
24-
2519
- task: PublishTestResults@2
2620
condition: succeededOrFailed()
2721
inputs:

doc/contributing.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,13 @@ Testing With Continuous Integration
384384
-----------------------------------
385385

386386
The *xarray* test suite will run automatically on `Travis-CI <https://travis-ci.org/>`__,
387-
and `Appveyor <https://www.appveyor.com/>`__, continuous integration services, once
388-
your pull request is submitted. However, if you wish to run the test suite on a
389-
branch prior to submitting the pull request, then the continuous integration
390-
services need to be hooked to your GitHub repository. Instructions are here
391-
for `Travis-CI <http://about.travis-ci.org/docs/user/getting-started/>`__, and
392-
`Appveyor <https://www.appveyor.com/docs/>`__.
387+
and `Azure Pipelines <https://azure.microsoft.com/en-us/services/devops/pipelines//>`__,
388+
continuous integration services, once your pull request is submitted. However,
389+
if you wish to run the test suite on a branch prior to submitting the pull
390+
request, then the continuous integration services need to be hooked to your
391+
GitHub repository. Instructions are here for `Travis-CI
392+
<http://about.travis-ci.org/docs/user/getting-started/>`__, and
393+
`Azure Pipelines <https://docs.microsoft.com/en-us/azure/devops/pipelines/>`__.
393394

394395
A pull-request will be considered for merging when you have an all 'green' build. If any
395396
tests are failing, then you will get a red 'X', where you can click through to see the
@@ -399,10 +400,9 @@ individual failed tests. This is an example of a green build.
399400

400401
.. note::
401402

402-
Each time you push to your PR branch, a new run of the tests will be triggered on the CI.
403-
Appveyor will auto-cancel any non-currently-running tests for that same pull-request.
404-
You can also enable the auto-cancel feature for `Travis-CI here
405-
<https://docs.travis-ci.com/user/customizing-the-build/#Building-only-the-latest-commit>`__.
403+
Each time you push to your PR branch, a new run of the tests will be
404+
triggered on the CI. If they haven't already finished, tests for any older
405+
commits on the same branch will be automatically cancelled.
406406

407407
.. _contributing.tdd:
408408

0 commit comments

Comments
 (0)