Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Added Coveralls and Scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
kleijnweb committed Feb 5, 2016
1 parent aa49e3d commit e57dc97
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 16 deletions.
30 changes: 16 additions & 14 deletions .travis.yml
@@ -1,19 +1,21 @@
language: php

sudo: false

before_install:
- composer self-update

- if [[ "$TRAVIS_PHP_VERSION" != "5.6" ]]; then phpenv config-rm xdebug.ini; fi
- composer self-update
install:
- composer update $COMPOSER_FLAGS

- composer update $COMPOSER_FLAGS
matrix:
include:
- php: 5.4
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
fast_finish: true
include:
- php: 5.4
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 5.4
- php: 5.5
- php: 5.6
script: phpunit --coverage-clover build/logs/clover.xml
before_script:
- mkdir -p build/logs
after_script:
- travis_retry php bin/coveralls -v
- php: 7.0
fast_finish: true
6 changes: 5 additions & 1 deletion README.md
@@ -1,4 +1,8 @@
# KleijnWeb\RestETagBundle [![Build Status](https://travis-ci.org/kleijnweb/rest-e-tag-bundle.svg?branch=master)](https://travis-ci.org/kleijnweb/rest-e-tag-bundle)
# KleijnWeb\RestETagBundle
[![Build Status](https://travis-ci.org/kleijnweb/rest-e-tag-bundle.svg?branch=master)](https://travis-ci.org/kleijnweb/rest-e-tag-bundle)
[![Coverage Status](https://coveralls.io/repos/github/kleijnweb/rest-e-tag-bundle/badge.svg?branch=master)](https://coveralls.io/github/kleijnweb/rest-e-tag-bundle?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/kleijnweb/rest-e-tag-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/kleijnweb/rest-e-tag-bundle/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/kleijnweb/rest-e-tag-bundle/v/stable)](https://packagist.org/packages/kleijnweb/rest-e-tag-bundle)

Small bundle that adds caching and Concurrency Control for REST APIs using E-Tag Headers.

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -36,7 +36,8 @@
"symfony/browser-kit": ">=2.7.0",
"symfony/finder": ">=2.7.0",
"symfony/form": ">=2.7.0",
"symfony/routing": ">=2.7.0"
"symfony/routing": ">=2.7.0",
"satooshi/php-coveralls": "<1.0"
},
"config": {
"bin-dir": "bin"
Expand Down

0 comments on commit e57dc97

Please sign in to comment.