Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Added Azure Pipelines status badge
Browse files Browse the repository at this point in the history
  • Loading branch information
apawast committed Mar 13, 2019
1 parent 9026aea commit 08d6a8f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1,124 deletions.
11 changes: 1 addition & 10 deletions .azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,5 @@ steps:
displayName: 'Install dependencies (npm install)'
condition: variables.NPM_INSTALL

- bash: |
npm install -g mocha-junit-reporter
npm config set tslint-microsoft-contrib:mocha_reporter mocha-junit-reporter
npm run test
- script: npm run test
displayName: 'Run tests'
- task: PublishTestResults@2
inputs:
testResultsFiles: 'test-results.xml'
testRunTitle: $(TEST_TITLE)
displayName: 'Publishing test results'
6 changes: 5 additions & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ jobs:
TEST_TITLE: 'Windows node 11'

steps:
- template: .azure-pipelines-steps.yml
- template: .azure-pipelines-steps.yml

variables:
# Used by chalk. Ensures output from Jest includes ANSI escape characters that are needed to match test snapshots.
FORCE_COLOR: 1
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Downloads](https://img.shields.io/npm/dm/tslint-microsoft-contrib.svg)](https://npmjs.org/package/tslint-microsoft-contrib)
[![TravisCI Build Status](https://travis-ci.org/Microsoft/tslint-microsoft-contrib.svg?branch=master)](https://travis-ci.org/Microsoft/tslint-microsoft-contrib)
[![Join the chat at https://gitter.im/Microsoft/tslint-microsoft-contrib](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Microsoft/tslint-microsoft-contrib?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Azure Pipelines Build Status](https://dev.azure.com/ms/tslint-microsoft-contrib/_apis/build/status/tslint-microsoft-contrib?branchName=master)](https://dev.azure.com/ms/tslint-microsoft-contrib/_build/latest?definitionId=68&branchName=master)

A set of [TSLint](https://github.com/palantir/tslint) rules used on some Microsoft projects.

Expand Down
Loading

0 comments on commit 08d6a8f

Please sign in to comment.