[Python-checkins] Add VSTS status badge to readme (GH-8958)

Steve Dower webhook-mailer at python.org
Fri Aug 31 11:18:18 EDT 2018


https://github.com/python/cpython/commit/8926707ecee0c1634935c86d366895289dba4948
commit: 8926707ecee0c1634935c86d366895289dba4948
branch: 3.6
author: Steve Dower <steve.dower at microsoft.com>
committer: GitHub <noreply at github.com>
date: 2018-08-31T08:18:12-07:00
summary:

Add VSTS status badge to readme (GH-8958)

files:
M .vsts/linux-pr.yml
M README.rst

diff --git a/.vsts/linux-pr.yml b/.vsts/linux-pr.yml
index c8e7fd03e849..922fa81bc414 100644
--- a/.vsts/linux-pr.yml
+++ b/.vsts/linux-pr.yml
@@ -62,6 +62,7 @@ steps:
     uuid-dev
     xvfb
   displayName: 'Install dependencies'
+  condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
 
 
 - script: ./configure --with-pydebug
diff --git a/README.rst b/README.rst
index 978b32627bb4..c9b518bcf2cb 100644
--- a/README.rst
+++ b/README.rst
@@ -9,6 +9,18 @@ This is Python version 3.6.6+
    :alt: CPython build status on Appveyor
    :target: https://ci.appveyor.com/project/python/cpython/branch/3.6
 
+.. image:: https://python.visualstudio.com/cpython/_apis/build/status/Linux-Buildbot?branchName=3.6&label=Linux
+   :alt: CPython build status on VSTS (Linux)
+   :target: https://python.visualstudio.com/cpython/_build/latest?definitionId=6&branchName=3.6
+
+.. image:: https://python.visualstudio.com/cpython/_apis/build/status/macOS-Buildbot?branchName=3.6&label=macOS
+   :alt: CPython build status on VSTS (macOS)
+   :target: https://python.visualstudio.com/cpython/_build/latest?definitionId=5&branchName=3.6
+
+.. image:: https://python.visualstudio.com/cpython/_apis/build/status/Windows-Buildbot?branchName=3.6&label=Windows
+   :alt: CPython build status on VSTS (Windows)
+   :target: https://python.visualstudio.com/cpython/_build/latest?definitionId=4&branchName=3.6
+
 .. image:: https://codecov.io/gh/python/cpython/branch/3.6/graph/badge.svg
    :alt: CPython code coverage on Codecov
    :target: https://codecov.io/gh/python/cpython



More information about the Python-checkins mailing list