Skip to content

Commit

Permalink
change build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-gribanov committed Aug 28, 2016
1 parent 22010f8 commit f1c758d
Show file tree
Hide file tree
Showing 9 changed files with 2,468 additions and 1,296 deletions.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
service_name: travis-ci
coverage_clover: build/coverage-clover.xml
json_path: build/coveralls-upload.json
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
; top-most EditorConfig file
root = true

; Unix-style newlines
[*]
end_of_line = LF

[*.php]
indent_style = space
indent_size = 4
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
vendor/
/vendor/
/build/
7 changes: 7 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
preset: symfony

enabled:
- short_array_syntax

disabled:
- phpdoc_align
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
language: php

sudo: false

php:
- 5.4
- 5.5
- 5.6
- 7.0

notifications:
email: dev@anime-db.org

before_script:
before_install:
- 'if [[ -n "$GH_TOKEN" ]]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;'
- composer self-update
- composer --version
- composer install --dev --prefer-dist
- mkdir build

install:
- composer install --prefer-dist --no-interaction --no-progress

script:
- phpunit --verbose --coverage-clover=coverage.clover
- vendor/bin/phpunit

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- vendor/bin/ocular code-coverage:upload --format=php-clover build/coverage-clover.xml
- vendor/bin/coveralls -v -c .coveralls.yml
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

[![Latest Stable Version](https://poser.pugx.org/anime-db/ani-db-filler-bundle/v/stable.png)](https://packagist.org/packages/anime-db/ani-db-filler-bundle)
[![Latest Unstable Version](https://poser.pugx.org/anime-db/ani-db-filler-bundle/v/unstable.png)](https://packagist.org/packages/anime-db/ani-db-filler-bundle)
[![Total Downloads](https://poser.pugx.org/anime-db/ani-db-filler-bundle/downloads)](https://packagist.org/packages/anime-db/ani-db-filler-bundle)
[![Build Status](https://travis-ci.org/anime-db/ani-db-filler-bundle.svg?branch=master)](https://travis-ci.org/anime-db/ani-db-filler-bundle)
[![Code Coverage](https://scrutinizer-ci.com/g/anime-db/ani-db-filler-bundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/anime-db/ani-db-filler-bundle/?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/anime-db/ani-db-filler-bundle/badge.svg?branch=master)](https://coveralls.io/github/anime-db/ani-db-filler-bundle?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/anime-db/ani-db-filler-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/anime-db/ani-db-filler-bundle/?branch=master)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/ac35f05d-5612-4915-95e6-b874a484d401/mini.png)](https://insight.sensiolabs.com/projects/ac35f05d-5612-4915-95e6-b874a484d401)
[![StyleCI](https://styleci.io/repos/19104282/shield)](https://styleci.io/repos/19104282)
[![Dependency Status](https://www.versioneye.com/user/projects/57c2f747939fc6004abe4579/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/57c2f747939fc6004abe4579)
[![License](https://poser.pugx.org/anime-db/ani-db-filler-bundle/license.png)](https://packagist.org/packages/anime-db/ani-db-filler-bundle)

ani-db-filler-bundle
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@
},
"require" : {
"php" : ">=5.4.0",
"anime-db/catalog-bundle" : ">=0.4.17",
"anime-db/ani-db-browser-bundle" : ">=1.0.0"
},
"require-dev" : {
"anime-db/catalog-bundle" : ">=0.4.17",
"phpunit/phpunit": "^4.8.0",
"scrutinizer/ocular": "1.3.*",
"satooshi/php-coveralls": "^1.0"
},
"minimum-stability" : "dev"
}
Loading

0 comments on commit f1c758d

Please sign in to comment.