Skip to content

Commit b4745ee

Browse files
committed
CI
1 parent d987dde commit b4745ee

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.travis.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,27 @@ matrix:
55
- php: 7.1
66
- php: 7.1
77
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
8-
env: COVERAGE='--coverage-clover build/logs/clover.xml'
98
- php: 7.2
9+
env: COVERAGE='--coverage-clover build/logs/clover.xml'
1010
- php: 7.2
1111
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
12+
- php: nightly
13+
- php: nightly
14+
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
1215
fast_finish: true
1316

1417
sudo: false
1518

1619
before_script:
20+
- |
21+
if [ "$TRAVIS_PHP_VERSION" = "nightly" ]; then
22+
COMPOSER_FLAGS="$COMPOSER_FLAGS --ignore-platform-reqs"
23+
fi;
1724
- travis_wait composer update --no-interaction $COMPOSER_FLAGS
1825

1926
script:
2027
- if [[ $COVERAGE ]]; then mkdir -p build/logs; fi
2128
- php vendor/bin/phpunit $COVERAGE
2229

2330
after_script:
24-
- if [[ $COVERAGE ]]; then php vendor/bin/coveralls; fi
31+
- if [[ $COVERAGE ]]; then php vendor/bin/php-coveralls; fi

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# HTTP Request Parser
22

3+
[![](https://img.shields.io/travis/Toflar/http-request-parser/master.svg?style=flat-square)](https://travis-ci.org/Toflar/http-request-parser/)
4+
[![](https://img.shields.io/coveralls/Toflar/http-request-parser/master.svg?style=flat-square)](https://coveralls.io/github/Toflar/http-request-parser)
5+
36
**THIS IS WORK IN PROGRESS WITHOUT ANY RELEASE**
47

58
This tiny library parses an HTTP request from its raw string representation to PHP superglobal like arrays.

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
},
1515
"require-dev": {
1616
"friendsofphp/php-cs-fixer": "^2.6",
17-
"phpunit/phpunit": "^7.2"
17+
"phpunit/phpunit": "^7.2",
18+
"php-coveralls/php-coveralls": "^2.1"
1819
},
1920
"autoload": {
2021
"psr-4": {

0 commit comments

Comments
 (0)