Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
Riimu committed Jun 30, 2017
1 parent cf88f1e commit 8c520fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
@@ -1,11 +1,11 @@
language: php
sudo: false
dist: trusty

php:
- 5.6
- 5.5
- 5.4
- 7.0
- 7.1
- hhvm

cache:
Expand All @@ -14,11 +14,9 @@ cache:

before_install:
- if [[ $TRAVIS_PHP_VERSION =~ ^7 ]]; then phpenv config-rm xdebug.ini; fi
- composer self-update

install:
- composer require --no-update --no-interaction "phpunit/phpunit:*" "squizlabs/php_codesniffer:*" "fabpot/php-cs-fixer:*"
- travis_retry composer update --no-interaction --prefer-source
- travis_retry composer update --no-interaction
- travis_retry wget https://scrutinizer-ci.com/ocular.phar

before_script:
Expand All @@ -32,7 +30,7 @@ script:
vendor/bin/phpunit --coverage-clover=coverage.clover --coverage-text;
fi
- vendor/bin/phpcs --standard=PSR2 src tests
- vendor/bin/php-cs-fixer fix --dry-run --diff
- vendor/bin/php-cs-fixer fix -v --dry-run --allow-risky=yes --using-cache=no

after_script:
- >
Expand Down
14 changes: 6 additions & 8 deletions README.md
Expand Up @@ -24,20 +24,18 @@ options that allow parsing of URLs that contain UTF-8 characters in different
components of the URL while converting them to the appropriate percent encoded
and IDN ascii formats.

The API documentation, which can be generated using Apigen, can be read online
at: http://kit.riimu.net/api/urlparser/
The API documentation is available at: http://kit.riimu.net/api/urlparser/

[![Build Status](https://img.shields.io/travis/Riimu/Kit-UrlParser.svg?style=flat)](https://travis-ci.org/Riimu/Kit-UrlParser)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/Riimu/Kit-UrlParser.svg?style=flat)](https://scrutinizer-ci.com/g/Riimu/Kit-UrlParser/)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/Riimu/Kit-UrlParser.svg?style=flat)](https://scrutinizer-ci.com/g/Riimu/Kit-UrlParser/)
[![HHVM Status](https://img.shields.io/hhvm/riimu/Kit-UrlParser.svg)](http://hhvm.h4cc.de/package/riimu/Kit-UrlParser)
[![PHP7 Status](https://img.shields.io/badge/PHP7-tested-brightgreen.svg)]()
[![Travis](https://img.shields.io/travis/Riimu/Kit-UrlParser.svg?style=flat-square)](https://travis-ci.org/Riimu/Kit-UrlParser)
[![Scrutinizer](https://img.shields.io/scrutinizer/g/Riimu/Kit-UrlParser.svg?style=flat-square)](https://scrutinizer-ci.com/g/Riimu/Kit-UrlParser/)
[![Scrutinizer Coverage](https://img.shields.io/scrutinizer/coverage/g/Riimu/Kit-UrlParser.svg?style=flat-square)](https://scrutinizer-ci.com/g/Riimu/Kit-UrlParser/)
[![Packagist](https://img.shields.io/packagist/v/Riimu/Kit-UrlParser.svg?style=flat-square)](https://packagist.org/packages/riimu/kit-urlparser)

## Requirements ##

In order to use this library, the following requirements must be met:

* PHP version 5.4
* PHP version 5.6
* [PSR Http Message](https://github.com/php-fig/http-message) library is required
* In order to parse IDNs, the php extension `intl` must be enabled

Expand Down

0 comments on commit 8c520fa

Please sign in to comment.