Skip to content

Commit

Permalink
Added badges
Browse files Browse the repository at this point in the history
  • Loading branch information
olvlvl committed Feb 1, 2015
1 parent 9f8a27e commit 728b1b0
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 8 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src_dir: lib
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.coveralls.yml export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.project
.settings
.README.md.html
build/coverage
composer.lock
docs/
tests/sandbox/
Expand Down
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ php:
- 5.6
- hhvm

matrix:
allow_failures:
- php: hhvm

before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
- travis_retry composer self-update
- travis_retry composer --prefer-source install
- composer require satooshi/php-coveralls

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

after_script:
- php vendor/bin/coveralls -v
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ autoload: vendor
test: vendor
@phpunit

test-coverage: vendor
@mkdir -p build/coverage
@phpunit --coverage-html build/coverage

doc: vendor
@mkdir -p "docs"

Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# HTTP [![Build Status](https://secure.travis-ci.org/ICanBoogie/HTTP.svg?branch=2.2)](http://travis-ci.org/ICanBoogie/HTTP)
# HTTP

[![Release](https://img.shields.io/github/release/ICanBoogie/HTTP.svg)](https://github.com/ICanBoogie/HTTP/releases)
[![Build Status](https://img.shields.io/travis/ICanBoogie/HTTP/master.svg)](http://travis-ci.org/ICanBoogie/HTTP)
[![HHVM](https://img.shields.io/hhvm/icanboogie/http/master.svg)](http://hhvm.h4cc.de/package/icanboogie/http)
[![Code Quality](https://img.shields.io/scrutinizer/g/ICanBoogie/HTTP/master.svg)](https://scrutinizer-ci.com/g/ICanBoogie/HTTP)
[![Code Coverage](https://img.shields.io/coveralls/ICanBoogie/HTTP/master.svg)](https://coveralls.io/r/ICanBoogie/HTTP)
[![Packagist](https://img.shields.io/packagist/dt/icanboogie/http.svg)](https://packagist.org/packages/icanboogie/http)

The HTTP package provides an API to handle HTTP requests.

Expand Down Expand Up @@ -799,7 +806,8 @@ clean the directory with the `make clean` command.

The package is continuously tested by [Travis CI](http://about.travis-ci.org/).

[![Build Status](https://travis-ci.org/ICanBoogie/HTTP.svg?branch=2.2)](https://travis-ci.org/ICanBoogie/HTTP)
[![Build Status](https://img.shields.io/travis/ICanBoogie/HTTP/master.svg)](https://travis-ci.org/ICanBoogie/HTTP)
[![Code Coverage](https://img.shields.io/coveralls/ICanBoogie/HTTP/master.svg)](https://coveralls.io/r/ICanBoogie/HTTP)



Expand Down

0 comments on commit 728b1b0

Please sign in to comment.