Skip to content

Commit 0168d1b

Browse files
committed
+ Travis-CI
1 parent e37a7bf commit 0168d1b

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

.coveralls.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#.coveralls.yml
2+
service_name: travis-ci
3+
4+
# single file
5+
coverage_clover: build/logs/clover.xml

.travis.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
language: php
2+
3+
php:
4+
- 5.3
5+
- 5.4
6+
- 5.5
7+
- 5.6
8+
- 7.0
9+
- 7.0snapshot
10+
- 7.1
11+
- 7.1snapshot
12+
- master
13+
14+
sudo: false
15+
16+
before_install:
17+
- composer self-update
18+
- composer clear-cache
19+
20+
install:
21+
- travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable
22+
23+
script:
24+
- mkdir -p build/logs
25+
- php vendor/bin/phpunit
26+
27+
after_success:
28+
- travis_retry php vendor/bin/coveralls
29+
30+
notifications:
31+
email: false

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[![Version 0.1.1](https://img.shields.io/badge/version-v0.1.1-green.svg)](:release:)
2+
[![Build Status](https://travis-ci.org/jorge-matricali/php-http-client.svg?branch=master)](:status:) [![Coverage Status](https://coveralls.io/repos/github/jorge-matricali/php-http-client/badge.svg?branch=master)](https://coveralls.io/github/jorge-matricali/php-http-client?branch=master)
3+
[![MIT licensed](https://img.shields.io/github/license/jorge-matricali/php-http-client.svg)](https://jorge-matricali.mit-license.org/2017)
4+
15
PSR-7 HTTP Client (cURL)
26
================
37

0 commit comments

Comments
 (0)