tools:
    php_code_coverage: true
        test_command: ./bin/phpspec

before_commands:
    - 'curl -sS https://getcomposer.org/installer | php'
    - 'php composer.phar install'

tools:
    php_code_coverage:
        test_command: './bin/phpspec'

Add before_commands to install dependencies to Scrutinizer-CI config
Add before_commands to install dependencies to Scrutinizer-CI config
