From 3f9617b1965f345d97af807ad4597b3a3b6ea714 Mon Sep 17 00:00:00 2001 From: Arkadiusz Kondas Date: Thu, 7 Jul 2016 23:57:50 +0200 Subject: [PATCH] another try with hhvm and travis --- .travis.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e665ef..925d8e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,10 +7,8 @@ matrix: - os: linux php: '7.0' -# - os: linux -# php: hhvm -# env: -# - HHVMPHP7="yes" + - os: linux + php: hhvm - os: osx osx_image: xcode7.3 @@ -27,9 +25,6 @@ install: - curl -s http://getcomposer.org/installer | php - php composer.phar install --dev --no-interaction --ignore-platform-reqs -before_script: - - if [[ $HHVMPHP7 == "yes" ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi - - if [[ $HHVMPHP7 == "yes" ]]; then sudo service hhvm restart ; sleep 1 ; fi - script: - - bin/phpunit + - if [[ "$TRAVIS_PHP_VERSION" = "hhv*" ]]; then php -d hhvm.php7.all=1 bin/phpunit ; fi + - if [[ "$TRAVIS_PHP_VERSION" = "php*" ]]; then bin/phpunit ; fi