language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

before_install: composer self-update

install: composer install --optimize-autoloader --no-interaction

before_script: mysql -e 'create database `estaty_test`;'

script: composer test-ci

after_script: if [ -f build/coverage.clover ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover build/coverage.clover; fi

sudo: false

language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

cache:
  directories:
    - $HOME/.composer/cache

before_install: composer self-update

install: composer install --optimize-autoloader --no-interaction

before_script: mysql -e 'create database `estaty_test`;'

script: composer test-ci

after_script: if [ -f build/coverage.clover ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover build/coverage.clover; fi

Enable container-based sudo-less Travis CI infrastructure with caching
Enable container-based sudo-less Travis CI infrastructure with caching
