Skip to content

Commit

Permalink
Fix coveralls config
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfisher committed May 5, 2014
1 parent 39a309e commit 4dbca6b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
18 changes: 5 additions & 13 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
language: php
php:
- 5.5
- 5.4
service_name: travis-ci

install:
- composer self-update
- composer install

before_script: composer require task/cli ~0.1

script: vendor/bin/task test

after_script: vendor/bin/coveralls -v
# for php-coveralls
src_dir: src
coverage_clover: coverage.xml
json_path: coveralls-upload.json
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,24 @@ $project->inject(function ($container) {

$project->addTask('watch', ['watch', function ($watch) {
$watch->init('/tmp')
->addListener(function ($event) {
->addListener('modify', function ($event) {
# Do something
});
}]);
```

Installation
============
Add to `composer.json`:
```json
...
"require-dev": {
"task/watch": "~0.1"
}
...
```

Usage
=====

See the documentation for [mbfisher/watch](https://github.com/mbfisher/watch) for documentation on using the watchers.

0 comments on commit 4dbca6b

Please sign in to comment.