diff --git a/.travis.yml b/.travis.yml index cc51a303..80c75e01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ matrix: - php: hhvm install: - - ./tests/travis-init.sh + - composer install --no-interaction script: - php vendor/bin/phpunit --coverage-text diff --git a/composer.json b/composer.json index 1a409b27..46de1b43 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "react/promise": "^2.1", "react/promise-stream": "^1.1.1", "react/socket": "^0.8.8", - "react/stream": "^0.7" + "react/stream": "^0.7.7" }, "require-dev": { "phpunit/phpunit": "^4.8.35", diff --git a/tests/travis-init.sh b/tests/travis-init.sh deleted file mode 100755 index 6360e58f..00000000 --- a/tests/travis-init.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -set -e -set -o pipefail - -if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then - - # install "libevent" (used by 'event' and 'libevent' PHP extensions) - sudo apt-get install -y libevent-dev - - # install 'event' PHP extension - echo "yes" | pecl install event - - # install 'libevent' PHP extension - curl http://pecl.php.net/get/libevent-0.0.5.tgz | tar -xz - pushd libevent-0.0.5 - phpize - ./configure - make - make install - popd - echo "extension=libevent.so" >> "$(php -r 'echo php_ini_loaded_file();')" - - # install 'libev' PHP extension - git clone --recursive https://github.com/m4rw3r/php-libev - pushd php-libev - phpize - ./configure --with-libev - make - make install - popd - echo "extension=libev.so" >> "$(php -r 'echo php_ini_loaded_file();')" - -fi - -composer self-update -composer install --dev --prefer-source
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: