diff options
author | Jeff Chan <jefftchan@gmail.com> | 2014-03-13 10:02:35 +0400 |
---|---|---|
committer | Jeff Chan <jefftchan@gmail.com> | 2014-03-13 10:02:35 +0400 |
commit | 4749251cc8c3234f97ab1605d89b61718f56ed1a (patch) | |
tree | ad6edbcd4528fdeb3bf5b5fda8f07bd292232ded /.travis.yml | |
parent | 85085037c307806e379c4f5ac2e394faaacba111 (diff) |
Only install runkit / pear selenium when normal PHP
Also, use Travis' composer binary
Signed-off-by: Jeff Chan <jefftchan@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 2856228315..c43a122821 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,12 +8,11 @@ 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 |