Skip to content

Commit bcafbeb

Browse files
committed
update baseline travis builds
1 parent bbe6a12 commit bcafbeb

4 files changed

Lines changed: 90 additions & 3 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
composer.lock
33
composer.phar
44
vendor
5+
6+
*.tgz

.travis.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
language: php
2-
install:
3-
- pear install package.xml
2+
sudo: false
43
php:
54
- 5.4
6-
script: pear package
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- 7.1
9+
script:
10+
- pear list
11+
- pear channel-update pear.php.net
12+
- pear upgrade --force pear/pear-1.10.1
13+
- pear list
14+
- pear install --force package.xml
15+
- pear list
16+
- pear package
17+
- pear package-validate
18+
- pear install --force *.tgz
19+
- pear list
20+
- composer install
21+
- ./vendor/bin/phpunit -c phpunit.xml.dist

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Net_Socket - RSS parser
2+
3+
[![Build Status](https://travis-ci.org/pear/Net_Socket.svg?branch=master)](https://travis-ci.org/pear/Net_Socket)
4+
5+
6+
Parser for Resource Description Framework (RDF)
7+
Site Summary (RSS) documents.
8+
9+
[Homepage](http://pear.php.net/package/Net_Socket/)
10+
11+
12+
## Installation
13+
For a PEAR installation that downloads from the PEAR channel:
14+
15+
`$ pear install pear/net_socket`
16+
17+
For a PEAR installation from a previously downloaded tarball:
18+
19+
`$ pear install Net_Socket-*.tgz`
20+
21+
For a PEAR installation from a code clone:
22+
23+
`$ pear install package.xml`
24+
25+
For a local composer installation:
26+
27+
`$ composer install`
28+
29+
To add as a dependency to your composer-managed application:
30+
31+
`$composer require pear/net_socket`
32+
33+
34+
## Tests
35+
Run the tests from a local composer installation:
36+
37+
`$ ./vendor/bin/phpunit`
38+
39+
40+
## License
41+
PHP license

phpunit.xml.dist

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<phpunit bootstrap="vendor/autoload.php"
2+
cacheTokens="false"
3+
colors="true"
4+
convertErrorsToExceptions="true"
5+
convertNoticesToExceptions="true"
6+
convertWarningsToExceptions="true"
7+
stopOnError="false"
8+
stopOnFailure="false"
9+
stopOnIncomplete="false"
10+
stopOnSkipped="false">
11+
12+
<testsuites>
13+
<testsuite name="Test Suite">
14+
<directory suffix=".php">tests/</directory>
15+
</testsuite>
16+
</testsuites>
17+
18+
<filter>
19+
<whitelist>
20+
<directory suffix=".php">Net/</directory>
21+
</whitelist>
22+
</filter>
23+
24+
<logging>
25+
<log type="coverage-clover" target="build/logs/clover.xml"/>
26+
<log type="coverage-html" target="build/coverage/"/>
27+
</logging>
28+
29+
</phpunit>

0 commit comments

Comments
 (0)