Merge pull request #1056 from jeffchan/add-hhvm-travis

Add HHVM to Travis
This commit is contained in:
Michal Čihař 2014-03-13 09:25:03 +01:00
commit 1740da7f6e

View File

@ -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