Skip to content

Commit

Permalink
Updated travis to use scrutinizer-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlc committed Dec 7, 2014
1 parent 4c2e1bd commit 275be13
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ php:
- 5.6
- hhvm

install:
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash
- phpcs --standard=PSR2 src/
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev

- composer install
script:
- phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Address Format [![Build Status](https://travis-ci.org/adamlc/address-format.png?branch=master)](https://travis-ci.org/adamlc/address-format)
Address Format
=============
[![Latest Stable Version](https://poser.pugx.org/adamlc/address-format/v/stable.png)](https://packagist.org/packages/adamlc/address-format) [![Total Downloads](https://poser.pugx.org/adamlc/address-format/downloads.png)](https://packagist.org/packages/adamlc/address-format)

[![Latest Version](https://img.shields.io/github/release/adamlc/address-format.svg?style=flat-square)](https://github.com/adamlc/address-format/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Build Status](https://img.shields.io/travis/adamlc/address-format/master.svg?style=flat-square)](https://travis-ci.org/adamlc/address-format)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/adamlc/address-format.svg?style=flat-square)](https://scrutinizer-ci.com/g/adamlc/address-format/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/adamlc/address-format.svg?style=flat-square)](https://scrutinizer-ci.com/g/adamlc/address-format)
[![Total Downloads](https://img.shields.io/packagist/dt/league/fractal.svg?style=flat-square)](https://packagist.org/packages/league/fractal)

A PHP library to parse street addresses to localized formats. The address formats are based on the formats supplied by Google's libaddressinput.

Expand Down

0 comments on commit 275be13

Please sign in to comment.