Skip to content

Commit

Permalink
chore(build): add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
euskadi31 committed Sep 24, 2015
1 parent 473e8fd commit 5bcacaa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ php:
- 5.6
- nightly
- hhvm
sudo: false
script: make travis
matrix:
fast_finish: true
Expand All @@ -14,3 +15,5 @@ matrix:
- php: 5.4
- php: hhvm
- php: nightly
after_script:
- php vendor/bin/coveralls
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vendor: composer.phar
@php composer.phar install

test: vendor
@phpunit --coverage-text --coverage-html build/coverage
@phpunit --coverage-text --coverage-html build/coverage --coverage-clover build/logs/clover.xml

check: vendor
@./vendor/bin/phpcs --standard=./vendor/leaphub/phpcs-symfony2-standard/leaphub/phpcs/Symfony2/ ./src
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# Silex Rest Service Provider

[![Build Status](https://travis-ci.org/euskadi31/RestServiceProvider.svg?branch=master)](https://travis-ci.org/euskadi31/RestServiceProvider)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/bc7cc439-3c27-4885-9e38-e331f41988c3/mini.png)](https://insight.sensiolabs.com/projects/bc7cc439-3c27-4885-9e38-e331f41988c3)
[![Build Status](https://img.shields.io/travis/euskadi31/RestServiceProvider/master.svg)](https://travis-ci.org/euskadi31/RestServiceProvider)
[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/bc7cc439-3c27-4885-9e38-e331f41988c3.svg)](https://insight.sensiolabs.com/projects/bc7cc439-3c27-4885-9e38-e331f41988c3)
[![Coveralls](https://img.shields.io/coveralls/euskadi31/RestServiceProvider.svg)](https://coveralls.io/github/euskadi31/RestServiceProvider)
[![HHVM](https://img.shields.io/hhvm/euskadi31/RestServiceProvider.svg)](https://travis-ci.org/euskadi31/RestServiceProvider)
[![Packagist](https://img.shields.io/packagist/v/euskadi31/rest-service-provider.svg)](https://packagist.org/packages/euskadi31/rest-service-provider)

Adding some REST capabilities to Silex 2.0, so you can more easily build RESTful APIs.

## Install

Add `euskadi31/rest-service-provider` to your `composer.json`:

% php composer.phar require euskadi31/rest-service-provider:~1.0
% php composer.phar require euskadi31/rest-service-provider:~1.2

## Usage

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"require-dev": {
"phpunit/phpunit": "^4.7",
"leaphub/phpcs-symfony2-standard": "~2.0.1"
"leaphub/phpcs-symfony2-standard": "~2.0.1",
"satooshi/php-coveralls": "dev-master"
},
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 5bcacaa

Please sign in to comment.