Skip to content

Commit

Permalink
Configure Continuous Integration services
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquemoody committed Dec 3, 2014
1 parent c004a7c commit d71a6f3
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
filter:
excluded_paths:
- tests/*

build:
environment:
mysql: false
postgresql: false
redis: false
elasticsearch: false
rabbitmq: false
mongodb: false
neo4j: false
memcached: false
php:
version: 5.6
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=coverage-clover.xml'
coverage:
file: 'coverage-clover.xml'
format: 'php-clover'

checks:
php:
code_rating: true
duplication: true

tools:
php_analyzer: true
php_code_sniffer:
config:
standard: "PSR2"
php_mess_detector: true
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language:
php

php:
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly

matrix:
allow_failures:
- php: hhvm
- php: hhvm-nightly

install:
- composer install --dev --no-interaction --prefer-source

script:
- make phpunit
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# PHPFluent\Callback
[![Build Status](https://scrutinizer-ci.com/g/PHPFluent/Callback/badges/build.png?b=master)](http://travis-ci.org/PHPFluent/Callback "Build Status")
[![Code Quality](https://scrutinizer-ci.com/g/PHPFluent/Callback/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/PHPFluent/Callback/?branch=master "Code Quality")
[![Code Coverage](https://scrutinizer-ci.com/g/PHPFluent/Callback/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/PHPFluent/Callback/?branch=master "Code Coverage")
[![Total Downloads](https://poser.pugx.org/phpfluent/callback/downloads.png)](https://packagist.org/packages/phpfluent/callback "Total Downloads")
[![License](https://poser.pugx.org/phpfluent/callback/license.png)](https://packagist.org/packages/phpfluent/callback "License")
[![Latest Stable Version](https://poser.pugx.org/phpfluent/callback/v/stable.png)](https://packagist.org/packages/phpfluent/callback "Latest Stable Version")
Expand Down

0 comments on commit d71a6f3

Please sign in to comment.