diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..563ac5b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: php + +php: + - 5.3 + - 5.4 + +before_script: composer install --dev diff --git a/README.md b/README.md index 940b6a4..d77bf85 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # WildcardEventDispatcher +[![Build Status](https://travis-ci.org/jmikola/WildcardEventDispatcher.png?branch=master)](https://travis-ci.org/jmikola/WildcardEventDispatcher) + This library implements an event dispatcher, based on [Symfony2's interface][], with wildcard syntax inspired by AMQP topic exchanges. Listeners may be bound to a wildcard pattern and be notified if a dispatched event's name matches that diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 4a8c9c0..4f9ca42 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,9 +1,7 @@ -add('Jmikola\\WildcardEventDispatcher', __DIR__.'/../src'); +require $autoloadFile;