another try with hhvm and travis

This commit is contained in:
Arkadiusz Kondas 2016-07-07 23:57:50 +02:00
parent baadfc365f
commit 3f9617b196

View File

@ -7,10 +7,8 @@ matrix:
- os: linux - os: linux
php: '7.0' php: '7.0'
# - os: linux - os: linux
# php: hhvm php: hhvm
# env:
# - HHVMPHP7="yes"
- os: osx - os: osx
osx_image: xcode7.3 osx_image: xcode7.3
@ -27,9 +25,6 @@ install:
- curl -s http://getcomposer.org/installer | php - curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --no-interaction --ignore-platform-reqs - 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: 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