Skip to content

Commit 952878b

Browse files
authored
Merge pull request #36 from yukoff/feature/make-tests-green
[travis] Make tests green
2 parents b0a957f + 2442690 commit 952878b

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.travis.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,23 @@ php:
55
- 5.5
66
- 5.6
77
- 7.0
8+
- 7.1
9+
- nightly
810
- hhvm
911

12+
env:
13+
matrix:
14+
- COMPOSER_FLAGS="--prefer-lowest"
15+
- COMPOSER_FLAGS=""
16+
17+
matrix:
18+
allow_failures:
19+
- php: nightly
20+
- php: hhvm
21+
22+
1023
before_script:
1124
- composer self-update
12-
- composer install --prefer-source --no-interaction --dev
25+
- composer update --prefer-source --no-interaction ${COMPOSER_FLAGS}
1326

14-
script: phpunit
27+
script: vendor/bin/phpunit

tests/Adapters/EventDispatcherTestLaravel5.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class EventDispatcherTestLaravel5 extends AbstractEventDispatcherTest
1212
{
1313
protected function createEventDispatcher()
1414
{
15-
$this->laravel = $this->prophesize('Illuminate\Contracts\Events\Dispatcher');
15+
$this->laravel = $this->prophesize('Illuminate\Events\Dispatcher');
1616
$this->symfony = $this->prophesize('Symfony\Component\EventDispatcher\EventDispatcher');
1717

1818
return new AdapterDispatcher(

0 commit comments

Comments
 (0)