mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-27 06:26:17 +00:00
Test on PHP 8 & drop Travis
This commit is contained in:
@@ -14,7 +14,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
coding-standards:
|
coding-standards:
|
||||||
name: "CS Fixer & PHPStan"
|
name: "CS Fixer & PHPStan"
|
||||||
runs-on: "ubuntu-18.04"
|
runs-on: "ubuntu-20.04"
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
phpunit:
|
phpunit:
|
||||||
name: "PHPUnit (PHP ${{ matrix.php }})"
|
name: "PHPUnit (PHP ${{ matrix.php }})"
|
||||||
runs-on: "ubuntu-18.04"
|
runs-on: "ubuntu-20.04"
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -25,6 +25,7 @@ jobs:
|
|||||||
- "7.2"
|
- "7.2"
|
||||||
- "7.3"
|
- "7.3"
|
||||||
- "7.4"
|
- "7.4"
|
||||||
|
- "8.0"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
@@ -65,7 +66,7 @@ jobs:
|
|||||||
|
|
||||||
phpunit-coverage:
|
phpunit-coverage:
|
||||||
name: "PHPUnit coverage (PHP ${{ matrix.php }})"
|
name: "PHPUnit coverage (PHP ${{ matrix.php }})"
|
||||||
runs-on: "ubuntu-18.04"
|
runs-on: "ubuntu-20.04"
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -118,7 +119,7 @@ jobs:
|
|||||||
|
|
||||||
phpunit-lowest:
|
phpunit-lowest:
|
||||||
name: "PHPUnit lowest deps (PHP ${{ matrix.php }})"
|
name: "PHPUnit lowest deps (PHP ${{ matrix.php }})"
|
||||||
runs-on: "ubuntu-18.04"
|
runs-on: "ubuntu-20.04"
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -161,7 +162,7 @@ jobs:
|
|||||||
|
|
||||||
phpunit-composerv2:
|
phpunit-composerv2:
|
||||||
name: "PHPUnit with Composer v2 (PHP ${{ matrix.php }})"
|
name: "PHPUnit with Composer v2 (PHP ${{ matrix.php }})"
|
||||||
runs-on: "ubuntu-18.04"
|
runs-on: "ubuntu-20.04"
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
-34
@@ -1,34 +0,0 @@
|
|||||||
dist: xenial
|
|
||||||
os: linux
|
|
||||||
language: php
|
|
||||||
|
|
||||||
# avoid double Travis build when the PR is created on upstream
|
|
||||||
if: |
|
|
||||||
type = pull_request OR \
|
|
||||||
branch = master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
include:
|
|
||||||
- php: 8.0
|
|
||||||
env: SYMFONY_PHPUNIT_VERSION=7.5
|
|
||||||
fast_finish: true
|
|
||||||
allow_failures:
|
|
||||||
- php: 8.0
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.composer/cache/files
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
|
|
||||||
|
|
||||||
install:
|
|
||||||
- if [ "$CS_FIXER" != "run" ]; then composer remove friendsofphp/php-cs-fixer --dev --no-progress --no-update ; fi;
|
|
||||||
- composer update --prefer-dist --no-progress -o
|
|
||||||
- php vendor/bin/simple-phpunit install
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- mkdir -p build/logs
|
|
||||||
|
|
||||||
script:
|
|
||||||
- php vendor/bin/simple-phpunit -v
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
# Readability
|
# Readability
|
||||||
|
|
||||||

|

|
||||||
[](https://travis-ci.org/j0k3r/php-readability)
|
|
||||||
[](https://coveralls.io/github/j0k3r/php-readability/?branch=master)
|
[](https://coveralls.io/github/j0k3r/php-readability/?branch=master)
|
||||||
[](https://packagist.org/packages/j0k3r/php-readability)
|
[](https://packagist.org/packages/j0k3r/php-readability)
|
||||||
[](https://packagist.org/packages/j0k3r/php-readability)
|
[](https://packagist.org/packages/j0k3r/php-readability)
|
||||||
|
|||||||
Reference in New Issue
Block a user