Skip to content

Commit

Permalink
Merge pull request #4 from oat-sa/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ekkinox authored Mar 23, 2021
2 parents d0da56b + bec5e39 commit 414b4c3
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
os: linux
dist: xenial
language: php

php:
- 7.2
- 7.3
- 7.4
- 8.0

before_script:
- composer self-update && composer install --no-interaction

script:
- mkdir -p build/logs
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- ./vendor/bin/php-coveralls -v
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

1.0.0
-----

* Added PHP support from version 7.2 to 8.0
* Added travis builds with coveralls

0.1.0
-----

Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Health Check Library

[![Latest Version](https://img.shields.io/github/tag/oat-sa/lib-health-check.svg?style=flat&label=release)](https://github.com/oat-sa/lib-health-check/tags)
[![License GPL2](http://img.shields.io/badge/licence-GPL%202.0-blue.svg)](http://www.gnu.org/licenses/gpl-2.0.html)
[![Build Status](https://travis-ci.org/oat-sa/lib-health-check.svg?branch=master)](https://travis-ci.org/oat-sa/lib-health-check)
[![Coverage Status](https://coveralls.io/repos/github/oat-sa/lib-health-check/badge.svg?branch=master)](https://coveralls.io/github/oat-sa/lib-health-check?branch=master)
[![Packagist Downloads](http://img.shields.io/packagist/dt/oat-sa/lib-health-check.svg)](https://packagist.org/packages/oat-sa/lib-health-check)

> Health checks PHP library.
## Table of contents
Expand Down Expand Up @@ -54,7 +60,7 @@ class MyFailureChecker implements CheckerInterface
}
```

And then register the checkers into the [HealthChecker](src/HealthChecker.php), and perform checks as follow:
Then register the checkers into the [HealthChecker](src/HealthChecker.php), and perform checks as following:

```php
<?php declare(strict_types=1);
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"type": "library",
"license": "GPL-2.0-only",
"require": {
"php": "^7.1.3"
"php": ">=7.2.0"
},
"require-dev": {
"phpunit/phpunit": "^8.3"
"phpunit/phpunit": "8.5.14",
"php-coveralls/php-coveralls": "^2.4"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 414b4c3

Please sign in to comment.