Merge pull request #1056 from jeffchan/add-hhvm-travis
Add HHVM to Travis
This commit is contained in:
commit
1740da7f6e
16
.travis.yml
16
.travis.yml
@ -3,19 +3,23 @@ php:
|
||||
- "5.5"
|
||||
- "5.4"
|
||||
- "5.3"
|
||||
- hhvm
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq ant
|
||||
before_script:
|
||||
- git clone git://github.com/zenovich/runkit.git && cd runkit && phpize && ./configure && make && make install && cd ..
|
||||
- phpenv config-add test/travis.php.ini
|
||||
- pear channel-discover pear.phpunit.de
|
||||
- pear install phpunit/PHPUnit_Selenium
|
||||
- curl -s http://getcomposer.org/installer | php
|
||||
- php composer.phar install --dev --no-interaction
|
||||
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then git clone git://github.com/zenovich/runkit.git && cd runkit && phpize && ./configure && make && make install && cd .. ; fi
|
||||
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then phpenv config-add test/travis.php.ini ; fi
|
||||
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then pear channel-discover pear.phpunit.de ; fi
|
||||
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then pear install phpunit/PHPUnit_Selenium ; fi
|
||||
- composer install --dev --no-interaction
|
||||
script:
|
||||
- ./scripts/generate-mo --quiet
|
||||
- PHPUNIT_ARGS=--debug ant phpunit lint
|
||||
- if [[ $TRAVIS_PULL_REQUEST != "false" ]] ; then ./scripts/check-dco origin/$TRAVIS_BRANCH..FETCH_HEAD ; fi
|
||||
after_script:
|
||||
- php vendor/bin/coveralls -v
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: hhvm
|
||||
fast_finish: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user