Skip to content

Commit

Permalink
Merge pull request #4 from MarioBlazek/master
Browse files Browse the repository at this point in the history
Added badges, enabled code coverage from codecov.io and enabled xdebug
  • Loading branch information
emodric authored Jun 30, 2016
2 parents 7a055e9 + 29cffaa commit e6048a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ branches:
# make sure to update composer to latest available version
before_install:
- phpenv config-add travis.php.ini
- phpenv config-rm xdebug.ini

# install dependencies
install: composer install
install:
- travis_wait composer install

# execute phpunit as the script command
script:
- ./vendor/bin/phpunit -d memory_limit=-1 --colors -c phpunit.xml
- ./vendor/bin/phpunit -d memory_limit=-1 --colors -c phpunit.xml --coverage-clover=coverage.xml

# disable mail notifications
notification:
Expand All @@ -39,3 +39,7 @@ git:

# we don't need sudo
sudo: false

# send coverage to codecov.io
after_success:
- bash <(curl -s https://codecov.io/bash)
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ Netgen Open Graph Bundle
========================

[![Build Status](https://img.shields.io/travis/netgen/NetgenOpenGraphBundle.svg?style=flat-square)](https://travis-ci.org/netgen/NetgenOpenGraphBundle)
[![Code Coverage](https://img.shields.io/codecov/c/github/netgen/NetgenOpenGraphBundle.svg?style=flat-square)](https://codecov.io/gh/netgen/NetgenOpenGraphBundle)
[![Downloads](https://img.shields.io/packagist/dt/netgen/open-graph-bundle.svg?style=flat-square)](https://packagist.org/packages/netgen/open-graph-bundle)
[![Latest stable](https://img.shields.io/packagist/v/netgen/open-graph-bundle.svg?style=flat-square)](https://packagist.org/packages/netgen/open-graph-bundle)
[![License](https://img.shields.io/packagist/l/netgen/open-graph-bundle.svg?style=flat-square)](https://packagist.org/packages/netgen/open-graph-bundle)

Netgen Open Graph Bundle is an eZ Publish / eZ Platform bundle that provides simple integration with Open Graph protocol.
It uses `Content` object which is currently displayed to generate Open Graph meta tags, according to configuration.
Expand Down

0 comments on commit e6048a4

Please sign in to comment.