Skip to content

Commit

Permalink
- Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Gopkalo committed Sep 7, 2016
0 parents commit 1309131
Show file tree
Hide file tree
Showing 56 changed files with 5,666 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/bin/
/vendor/
/phpunit.xml
/build/
2 changes: 2 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tools:
external_code_coverage: true
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: php

cache:
directories:
- $HOME/.composer/cache/files

matrix:
include:
- php: 5.6
- php: 7.0
env: COVERAGE=yes
- php: nightly
- php: hhvm
allow_failures:
- php: nightly
- php: hhvm
fast_finish: true

before_install:
- if [[ $TRAVIS_PHP_VERSION != hhvm && $COVERAGE != yes ]]; then phpenv config-rm xdebug.ini; fi;
- composer self-update

install:
- composer install --prefer-dist --no-interaction

script:
- if [[ $COVERAGE = yes ]]; then bin/phpunit --verbose --coverage-clover build/coverage.xml ; else bin/phpunit --verbose ; fi

after_script:
- if [[ $COVERAGE = yes ]]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Tonic Health

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Health checker service checks
[![License](https://img.shields.io/github/license/tonicforhealth/health-checker-service-checks.svg?maxAge=25920)](LICENSE.md)
[![Build Status](https://travis-ci.org/tonicforhealth/health-checker-service-checks.svg?branch=master)](https://travis-ci.org/tonicforhealth/health-checker-service-checks)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-service-checks/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-service-checks/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-service-checks/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-service-checks/?branch=master)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/ba4187fc-90a1-4949-a7e4-f48696e1bfec/mini.png)](https://insight.sensiolabs.com/projects/ba4187fc-90a1-4949-a7e4-f48696e1bfec)


This package contain the suite of service checks for [health-board-engine](https://github.com/tonicforhealth/health-board-engine). Each of the checks implement unify interface ZendDiagnostics\Check\CheckInterface. It make possible to use this checks with other components based on [ZendDiagnostics](https://github.com/zendframework/ZendDiagnostics) check interface.

## Installation using [Composer](http://getcomposer.org/)

```bash
$ composer require tonicforhealth/health-checker-service-checks
```
48 changes: 48 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "tonicforhealth/health-checker-service-checks",
"description": "Suite of the service checks for health-checker",
"license": "MIT",
"keywords": [
"tonicforhealth",
"health-checker-service-checks",
"ZendDiagnostics",
"CheckInterface"

],
"authors": [
{
"name": "Dmitry Gopkalo",
"email": "drefixs@gmail.com"
}
],
"require": {
"elasticsearch/elasticsearch": "^2.2",
"predis/predis": "^1.1",
"stomp-php/stomp-php": "^4.1",
"doctrine/orm": "^2.5",
"tonicforhealth/health-checker-check": "^0.1.2"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.3",
"phpunit/dbunit": "^2.0"
},
"repositories": [
{
"type": "vcs",
"url": "git@github.com:printu/docker-php.git"
}
],
"autoload": {
"psr-4": {
"TonicHealthCheck\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TonicHealthCheck\\Tests\\": "tests/"
}
},
"config": {
"bin-dir": "bin"
}
}

0 comments on commit 1309131

Please sign in to comment.