# .scrutinizer.yml checks: php: code_rating: true duplication: true filter: paths: ['src/*'] tools: php_code_sniffer: config: standard: "PSR2" build: environment: php: 7.1 mysql: 5.5 memcached: true mongodb: true tests: override: - command: '/usr/local/bin/phpunit --coverage-clover=clover.xml' coverage: file: 'clover.xml' format: 'clover' project_setup: before: - composer require mongodb/mongodb - mysql -e "CREATE DATABASE linna_db" - mysql -u root linna_db < tests/linna_db_mysql.sql - wget https://phar.phpunit.de/phpunit.phar - chmod +x phpunit.phar - sudo mv phpunit.phar /usr/local/bin/phpunit
# language: php # tests: true