Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ composer.lock
composer.phar
/vendor/
docs/reactivex.github.io
build/
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ php:
before_script: composer install

script:
- mkdir -p build/logs
- phpunit
- php demo/test.php
- php docs/build-docs.php lint

after_success:
- travis_retry php vendor/bin/coveralls -v
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
},
"require-dev": {
"react/event-loop": "~0.4.1",
"react/promise": "~2.2"
"react/promise": "~2.2",
"satooshi/php-coveralls": "~1.0",
"phpunit/phpcov": "2.*"
},
"suggest": {
"react/event-loop": "For using event-loop based scheduling.",
Expand Down
3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@
<directory suffix=".php">./lib/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>