Skip to content

Commit 602149d

Browse files
authored
Merge pull request #55 from SimonFrings/ci
Use GitHub actions for continuous integration (CI)
2 parents 3da81af + 2315d5f commit 602149d

File tree

5 files changed

+31
-21
lines changed

5 files changed

+31
-21
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/.gitattributes export-ignore
2+
/.github/workflows export-ignore
23
/.gitignore export-ignore
3-
/.travis.yml export-ignore
44
/examples/ export-ignore
55
/phpunit.xml.dist export-ignore
66
/phpunit.xml.legacy export-ignore

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
PHPUnit:
9+
name: PHPUnit (PHP ${{ matrix.php }})
10+
runs-on: ubuntu-20.04
11+
strategy:
12+
matrix:
13+
php:
14+
- 7.4
15+
- 7.3
16+
- 7.2
17+
- 7.1
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: shivammathur/setup-php@v2
21+
with:
22+
php-version: ${{ matrix.php }}
23+
coverage: xdebug
24+
- run: composer install
25+
- run: vendor/bin/phpunit --coverage-text
26+
if: ${{ matrix.php >= 7.3 }}
27+
- run: vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
28+
if: ${{ matrix.php < 7.3 }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/vendor
21
/composer.lock
2+
/vendor/

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# clue/reactphp-soap
22

3-
[![Build Status](https://travis-ci.org/clue/reactphp-soap.svg?branch=master)](https://travis-ci.org/clue/reactphp-soap)
3+
[![CI status](https://github.com/clue/reactphp-soap/workflows/CI/badge.svg)](https://github.com/clue/reactphp-soap/actions)
44
[![installs on Packagist](https://img.shields.io/packagist/dt/clue/soap-react?color=blue&label=installs%20on%20Packagist)](https://packagist.org/packages/clue/soap-react)
55

66
Simple, async [SOAP](https://en.wikipedia.org/wiki/SOAP) web service client library,

0 commit comments

Comments
 (0)