tools:
  php_sim: true
  php_pdepend: true
  php_analyzer:
    config:
      check_variables:
        enabled: false
    dependency_paths:
      - libs/

filter:
  paths:
    - core/
    - plugins/
  excluded_paths:
    - '*/tests/*'
    - '*/Test/*'

build:
  environment:
    php:
      version: 5.5.12
  dependencies:
    before:
      - cp tests/PHPUnit/config.ini.travis.php config/config.ini.php
  tests:
    override:
      -
        command: cd tests/PHPUnit && phpunit --testsuite UnitTests --coverage-clover clover-unit.xml
        coverage:
          file: tests/PHPUnit/clover-unit.xml
          format: php-clover
