Skip to content

Commit 8f31eaa

Browse files
committed
Added coverall badge and package
1 parent 6660555 commit 8f31eaa

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ language: php
33
php:
44
- 5.4
55
- 5.5
6+
- 5.6
67
- hhvm
78

89
install:
910
- composer self-update
10-
- composer install
11+
- composer install --dev --no-interaction
1112

1213
script:
13-
phpunit
14+
- mkdir -p build/logs
15+
- php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
16+
17+
after_script:
18+
- php vendor/bin/coveralls

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ PHP Html Parser
33

44
Version 1.6.3
55

6-
[![Build Status](https://travis-ci.org/paquettg/php-html-parser.png?branch=master)](https://travis-ci.org/paquettg/php-html-parser)
6+
[![Build Status](https://travis-ci.org/paquettg/php-html-parser.png)](https://travis-ci.org/paquettg/php-html-parser)
7+
[![Coverage Status](https://coveralls.io/repos/paquettg/php-html-parser/badge.png)](https://coveralls.io/r/paquettg/php-html-parser)
78

89
PHPHtmlParser is a simple, flexible, html parser which allows you to select tags using any css selector, like jQuery. The goal is to assiste in the development of tools which require a quick, easy way to scrap html, whether it's valid or not! This project was original supported by [sunra/php-simple-html-dom-parser](https://github.com/sunra/php-simple-html-dom-parser) but the support seems to have stopped so this project is my adaptation of his previous work.
910

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"paquettg/string-encode": "0.1.0"
1919
},
2020
"require-dev": {
21-
"phpunit/phpunit": "3.7.*"
21+
"phpunit/phpunit": "3.7.*",
22+
"satooshi/php-coveralls": "0.6.*"
2223
},
2324
"autoload": {
2425
"psr-0": {

0 commit comments

Comments
 (0)