Commit 75430d65 authored by Ramūnas Dronga's avatar Ramūnas Dronga

remove workarounds for hhvm, use latest version of scrutinizer tool and get...

remove workarounds for hhvm, use latest version of scrutinizer tool and get rid of some weird dependencies
parent adfd7f53
......@@ -17,10 +17,6 @@ matrix:
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
# required to test HHVM
# see https://travis-ci.org/php-amqplib/php-amqplib/jobs/259347861
dist: trusty
cache:
directories:
- $HOME/.composer
......@@ -33,7 +29,8 @@ script:
- vendor/bin/phpunit -d zend.enable_gc=0 --coverage-text --coverage-clover=coverage.clover
after_script:
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
services:
rabbitmq
......@@ -209,7 +209,6 @@ class SocketIO extends AbstractIO
$read = array($this->sock);
$write = null;
$except = null;
$result = false;
$this->set_error_handler();
try {
......
......@@ -459,11 +459,6 @@ class StreamIO extends AbstractIO
$read = array($this->sock);
$write = null;
$except = null;
$result = false;
if (defined('HHVM_VERSION')) {
$usec = is_int($usec) ? $usec : 0;
}
$this->set_error_handler();
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment