before_script:
    - composer self-update
    - composer install
    - mysql -e 'create database phinx_testing;'
    - psql -c 'create database phinx_testing;' -U postgres
language: php
php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm
script:
    - phpunit --coverage-text --coverage-clover=coverage.clover
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
matrix:
    allow_failures:
        - php: hhvm

before_script:
    - composer self-update
    - composer install
    - mysql -e 'create database phinx_testing;'
    - psql -c 'create database phinx_testing;' -U postgres
language: php
php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm
script:
    - phpunit --coverage-text --coverage-clover=coverage.clover
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
matrix:
    exclude:
        - php: hhvm
            env: TESTS_PHINX_DB_ADAPTER_POSTGRES_ENABLED=true
    include:
        - php: hhvm
            env: TESTS_PHINX_DB_ADAPTER_POSTGRES_ENABLED=false
    allow_failures:
        - php: hhvm

Exclude postgres tests on hhvm
Exclude postgres tests on hhvm