Skip to content

Commit

Permalink
Add coveralls support.
Browse files Browse the repository at this point in the history
  • Loading branch information
lennerd committed Oct 11, 2014
1 parent d3badfa commit 2c5e02c
Show file tree
Hide file tree
Showing 6 changed files with 359 additions and 149 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src_dir: .
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
.idea/*
vendor/*
vendor/*
build/*
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

before_script: composer install --dev --prefer-source
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install --dev --prefer-source --no-interaction

script:
- mkdir -p build/logs
- phpunit --coverage-clover build/logs/clover.xml

after_script: php vendor/bin/coveralls -v

notifications:
email:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This bundle adds a detector service to your Syfmony 2 project for detecting different crawlers and spiders.

[![Build Status](https://secure.travis-ci.org/lennerd/VipxBotDetectBundle.png)](http://travis-ci.org/lennerd/VipxBotDetectBundle)
[![Coverage Status](https://img.shields.io/coveralls/lennerd/VipxBotDetectBundle.svg)](https://coveralls.io/r/lennerd/VipxBotDetectBundle?branch=master)

## Documentation

Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,22 @@
"email": "hello@lennerd.com"
}
],
"minimum-stability": "dev",
"require": {
"php": ">=5.3.2",
"symfony/framework-bundle": "~2.1",
"symfony/security-bundle": "~2.1",
"vipx/bot-detect": "~1.0"
},
"require-dev": {
"symfony/yaml": "~2.1"
"satooshi/php-coveralls": "~0.6"
},
"autoload": {
"psr-0": { "Vipx\\BotDetectBundle": "" }
},
"target-dir": "Vipx/BotDetectBundle",
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
"dev-master": "2.0.x-dev"
}
}
}
Loading

0 comments on commit 2c5e02c

Please sign in to comment.