language: php
php:
  - "5.4"
  - "5.5"
  - "5.6"
  - "nightly"
  - "hhvm"
before_script:
  - composer install --no-interaction
  - cp config/app_travis.php config/app.php
  - cp config/oauth_example.php config/oauth.php
  - mysql -e 'create database pmaerr;'
  - wget https://scrutinizer-ci.com/ocular.phar
script:
  - bin/cake migrations migrate
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml -c phpunit.xml.dist
after_script:
  - php vendor/bin/coveralls -v
  - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
matrix:
  allow_failures:
    - php: "hhvm"
    - php: "nightly"

language: php
php:
  - "5.4"
  - "5.5"
  - "5.6"
  - "nightly"
  - "hhvm"
sudo: false
before_script:
  - composer install --no-interaction
  - cp config/app_travis.php config/app.php
  - cp config/oauth_example.php config/oauth.php
  - mysql -e 'create database pmaerr;'
  - wget https://scrutinizer-ci.com/ocular.phar
script:
  - bin/cake migrations migrate
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml -c phpunit.xml.dist
after_script:
  - php vendor/bin/coveralls -v
  - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
matrix:
  allow_failures:
    - php: "hhvm"
    - php: "nightly"

Use container based builds on Travis
Use container based builds on Travis

Signed-off-by: Michal Čihař <a2df1e659c9fd2578de0a26565357cb273292eeb@cihar.com>
