Skip to content

Commit 934c6fd

Browse files
committed
readme and travis build
1 parent fa88082 commit 934c6fd

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: "php"
2+
3+
php:
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- hhvm
9+
10+
before_script:
11+
- "composer require codeclimate/php-test-reporter --dev"
12+
- "composer install"
13+
14+
script:
15+
- "phpunit --testsuite=unit --coverage-text --coverage-clover build/logs/clover.xml"
16+
17+
after_script:
18+
- CODECLIMATE_REPO_TOKEN="32fe2f0781ff733154ae5807409a8314b7c405f80e56c433cff829743f88f4de" vendor/bin/test-reporter --stdout > codeclimate.json
19+
- "sh -c 'if [ \"$TRAVIS_PHP_VERSION\" != \"hhvm\" ]; then curl -X POST -d @codeclimate.json -H \"Content-Type: application/json\" -H \"User-Agent: Code Climate (PHP Test Reporter v0.1.1)\" https://codeclimate.com/test_reports ; fi'"

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
# HTTP
2-
HTTP encapsulation
2+
PHPixie HTTP library
3+
4+
5+
[![Build Status](https://travis-ci.org/PHPixie/HTTP.svg?branch=master)](https://travis-ci.org/PHPixie/HTTP)
6+
[![Test Coverage](https://codeclimate.com/github/PHPixie/HTTP/badges/coverage.svg)](https://codeclimate.com/github/PHPixie/HTTP)
7+
[![Code Climate](https://codeclimate.com/github/PHPixie/HTTP/badges/gpa.svg)](https://codeclimate.com/github/PHPixie/HTTP)
8+
[![HHVM Status](https://img.shields.io/hhvm/phpixie/http.svg?style=flat-square)](http://hhvm.h4cc.de/package/phpixie/http)
9+
10+
[![Author](http://img.shields.io/badge/author-@dracony-blue.svg?style=flat-square)](https://twitter.com/dracony)
11+
[![Source Code](http://img.shields.io/badge/source-phpixie/http-blue.svg?style=flat-square)](https://github.com/phpixie/http)
12+
[![Software License](https://img.shields.io/badge/license-BSD-brightgreen.svg?style=flat-square)](https://github.com/phpixie/http/blob/master/LICENSE)
13+
[![Total Downloads](https://img.shields.io/packagist/dt/phpixie/http.svg?style=flat-square)](https://packagist.org/packages/phpixie/http)

0 commit comments

Comments
 (0)