language: php

php:
    - 5.4
    - 5.5
    - 5.6
    - hhvm

matrix:
    allow_failures:
        - php: hhvm

before_script:
  - COMPOSER_ROOT_VERSION=dev-master composer install --dev --prefer-source
  - pecl install -f xhprof
  - phpenv config-add .xhprof.ini

notifications:
  email: false
  irc:
    channels:
      - "irc.freenode.org#profiler"
    use_notice: true

script: phpunit --coverage-clover=coverage.clover

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

language: php

php:
    - 5.4
    - 5.4.33
    - 5.5
    - 5.5.9
    - 5.5.17
    - 5.6
    - 5.6.1
    - hhvm

matrix:
    allow_failures:
        - php: hhvm

before_script:
  - COMPOSER_ROOT_VERSION=dev-master composer install --dev --prefer-source
  - apt-get install php5-xhprof
  - phpenv config-add .xhprof.ini

notifications:
  email: false
  irc:
    channels:
      - "irc.freenode.org#profiler"
    use_notice: true

script: phpunit --coverage-clover=coverage.clover

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

Add some more PHP versions to test and use apt instead of PECL to keep hhvm testing possible
Add some more PHP versions to test and use apt instead of PECL to keep hhvm testing possible
