Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI
on:
push:
branches:
- '*'
tags:
- '*'
paths:
- '**'
- '!*.md'
pull_request:
paths:
- '**'
- '!*.md'
jobs:
tests:
name: CI
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ '5.3', '5.4', '5.5', '5.6', '7.1', '7.2', '7.3', '7.4', '8.0' ]
dependencies: [ 'lowest', 'highest' ]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none

- if: matrix.dependencies == 'lowest'
run: composer update --no-ansi --no-interaction --no-progress --prefer-lowest

- if: matrix.dependencies == 'highest'
run: composer update --no-ansi --no-interaction --no-progress

- name: Run tests with phpunit
run: php ./phpunit
66 changes: 0 additions & 66 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Stable Version](https://img.shields.io/packagist/v/php5friends/phpunit48.svg?style=flat-square)](https://packagist.org/packages/php5friends/phpunit48)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.3.3-8892BF.svg?style=flat-square)](https://php.net/supported-versions.php)
[![Build Status](https://img.shields.io/travis/php5friends/phpunit48/4.8.svg?style=flat-square)](https://travis-ci.org/php5friends/phpunit48)
[![CI](https://github.com/php5friends/phpunit48/actions/workflows/ci.yml/badge.svg)](https://github.com/php5friends/phpunit48/actions/workflows/ci.yml)

**PHPUnit48** is a variant of [PHPUnit](https://phpunit.de/). The purpose of this project is to make PHPUnit 4.8 compatible with the new PHP and to make it compatible with PHPUnit 6.

Expand Down