Skip to content

Commit

Permalink
Update travis-ci, coveralls & composer configs
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Sep 12, 2016
1 parent 8f72005 commit 2869767
Show file tree
Hide file tree
Showing 5 changed files with 1,329 additions and 646 deletions.
1 change: 0 additions & 1 deletion .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
service_name: travis-ci
src_dir: src
coverage_clover: clover.xml
json_path: coveralls.json
23 changes: 17 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
language: php

sudo: false

cache:
directories:
- vendor
- $HOME/.composer/cache

php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- nightly
- hhvm

matrix:
Expand All @@ -17,13 +26,15 @@ notifications:
irc: "irc.iiens.net#Erebot"

before_script:
- rm composer.lock
- composer self-update -n
- composer install --dev -n
- composer install -n

script:
- phpunit --coverage-clover clover.xml --bootstrap vendor/erebot/testenv/bootstrap.php tests/
- vendor/bin/phpunit --coverage-clover clover.xml
- vendor/bin/phpcs

after_script:
- composer require --dev "satooshi/php-coveralls dev-master"
- php vendor/bin/coveralls -n -v
after_success:
- composer require --dev satooshi/php-coveralls
- travis_retry vendor/bin/coveralls -n -v

21 changes: 9 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"minimum-stability": "dev",
"prefer-stable": true,
"name": "erebot/phpfilter-module",
"description": "Erebot module to invoke PHP filters from IRC",
"keywords": ["Erebot", "IRC", "bot", "module"],
"homepage": "https://github.com/Erebot/Erebot_Module_PhpFilter",
"homepage": "https://github.com/Erebot/Module_PhpFilter",
"license": "GPL-3.0+",
"authors": [
{
Expand All @@ -13,22 +13,19 @@
}
],
"support": {
"email": "erebot@erebot.net",
"issues": "https://github.com/Erebot/Erebot_Module_PhpFilter/issues",
"wiki": "http://erebot.github.io/Erebot_Module_PhpFilter/",
"issues": "https://github.com/Erebot/Module_PhpFilter/issues",
"irc": "irc://irc.iiens.net/Erebot",
"source": "https://github.com/Erebot/Erebot_Module_PhpFilter"
"source": "https://github.com/Erebot/Module_PhpFilter"
},
"require": {
"php": ">=5.3.0",
"erebot/triggerregistry-module": "dev-master",
"erebot/api": "dev-master",
"erebot/installers": "dev-master",
"erebot/generic-doc": "dev-master"
"erebot/triggerregistry-module": "*",
"erebot/api": "^0.7.1"
},
"require-dev": {
"erebot/buildenv": "dev-master",
"erebot/testenv": "dev-master"
"erebot/buildenv": "^1.1.0",
"erebot/testenv": "^1.1.2",
"erebot/generic-doc": "*"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 2869767

Please sign in to comment.