language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm

before_script:
    - curl -s http://getcomposer.org/installer | php
    - php composer.phar install --dev

script: phpunit --coverage-clover clover

after_success:
    - curl -sL https://bit.ly/artifact-uploader | php

matrix:
  allow_failures:
    - php: hhvm

language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm

before_script:
  - wget http://getcomposer.org/composer.phar
  - php composer.phar install --dev

script: phpunit --coverage-clover clover

after_success:
  - curl -sL https://bit.ly/artifact-uploader | php

matrix:
  allow_failures:
    - php: hhvm

Fix before_script to work with HHVM
Fix before_script to work with HHVM

Before the output of the composer installer would be piped through php. This doesn't work for HHVM (yet?). In the meantime we can just wget `composer.phar` and use that instead.