Skip to content

Commit

Permalink
README追加
Browse files Browse the repository at this point in the history
  • Loading branch information
polidog committed May 28, 2015
1 parent 3a70f57 commit 7c22965
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# for php-coveralls
src_dir: src
coverage_clover: build/logs/clover.xml
json_path: build/logs/coveralls-upload.json
45 changes: 45 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
filter:
paths:
- 'src/*'
build:
tests:
override:
-
command: phpunit --coverage-clover=my-coverage-file
coverage:
file: my-coverage-file
format: php-clover
tools:
php_cpd:
enabled: true
excluded_dirs: { }
names:
- '*.php'
min_lines: 5
min_tokens: 70
filter:
paths:
- 'src/*'
php_pdepend:
excluded_dirs:
- vendor
enabled: true
configuration_file: null
suffixes:
- php
filter:
paths:
- 'src/*'
php_changetracking:
enabled: true
bug_patterns:
- '\bfix(?:es|ed)?\b'
feature_patterns:
- '\badd(?:s|ed)?\b'
- '\bimplement(?:s|ed)?\b'
filter:
paths:
- 'src/*'
external_code_coverage:
timeout: 300
runs: 1
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: php

php:
- 5.4
- 5.5
- 5.6
before_script:
- composer install --prefer-source

before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --no-interaction

script:
- mkdir -p build/logs
- mkdir -p build/cov
- php vendor/bin/phpunit -c phpunit.xml.dist

after_script:
- php vendor/bin/coveralls -v
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# esa-php

[![Build Status](https://travis-ci.org/polidog/esa-php.svg)](https://travis-ci.org/polidog/esa-php)
[![Coverage Status](https://coveralls.io/repos/polidog/esa-php/badge.svg)](https://coveralls.io/r/polidog/esa-php)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/polidog/esa-php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/polidog/esa-php/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/polidog/esa-php/v/stable)](https://packagist.org/packages/polidog/esa-php)
[![Total Downloads](https://poser.pugx.org/polidog/esa-php/downloads)](https://packagist.org/packages/polidog/esa-php)
[![License](https://poser.pugx.org/polidog/esa-php/license)](https://packagist.org/packages/polidog/esa-php)

esa API v1 client library, written in PHP

## Installation
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"authors": [
{
"name": "polidog",
"name": "Ryota Mochizuki",
"email": "[email protected]"
}
],
Expand Down

0 comments on commit 7c22965

Please sign in to comment.