Skip to content

Commit 8c9b3ca

Browse files
committed
Build against multiple PHP versions
1 parent 7c56006 commit 8c9b3ca

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
behat-code-coverage
22
===================
3-
[![Build Status](https://travis-ci.org/dvdoug/behat-code-coverage.svg?branch=master)](https://travis-ci.org/dvdoug/behat-code-coverage)
4-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dvdoug/BoxPacker/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dvdoug/behat-code-coverage/?branch=master)
3+
[![Build Status](https://dev.azure.com/github0636/behat-code-coverage/_apis/build/status/dvdoug.behat-code-coverage?branchName=master)](https://dev.azure.com/github0636/behat-code-coverage/_build/latest?definitionId=1&branchName=master)
4+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dvdoug/behat-code-coverage/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dvdoug/behat-code-coverage/?branch=master)
55
[![Download count](https://img.shields.io/packagist/dt/dvdoug/behat-code-coverage.svg)](https://packagist.org/packages/dvdoug/behat-code-coverage)
66
[![Current version](https://img.shields.io/packagist/v/dvdoug/behat-code-coverage.svg)](https://packagist.org/packages/dvdoug/behat-code-coverage)
77

azure-pipelines.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
# Add steps that run tests, save build artifacts, deploy, and more:
44
# https://docs.microsoft.com/azure/devops/pipelines/languages/php
55

6-
trigger:
7-
- master
8-
96
pool:
107
vmImage: 'ubuntu-latest'
118

12-
variables:
13-
phpVersion: 7.2
9+
strategy:
10+
matrix:
11+
php 7.3:
12+
phpVersion: '7.3'
13+
php 7.2:
14+
phpVersion: '7.2'
15+
php 7.1:
16+
phpVersion: '7.1'
1417

1518
steps:
1619
- script: |
@@ -24,3 +27,6 @@ steps:
2427

2528
- script: composer install --no-interaction --prefer-dist
2629
displayName: 'composer install'
30+
31+
- script: vendor/bin/phpunit
32+
displayName: 'PHPUnit'

0 commit comments

Comments
 (0)