mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-22 13:05:10 +00:00
another try with hhvm and travis
This commit is contained in:
parent
baadfc365f
commit
3f9617b196
13
.travis.yml
13
.travis.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user