Passed
Push — master ( 662732...a01d21 )
by Sebastian
03:00
created

Checkout Config

# .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:
                - 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

Repository Config

# language: php

# tests: true