Test Failed
Pull Request — master (#85)
by Matt
06:32
created

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
                    - js-scrutinizer-run
        tests:
            services:
                mysql: 5.7
                elasticsearch: 7.12.1
            tests:
                before:
                    - sudo mysql -u root -e "CREATE USER 'homestead'@'%' IDENTIFIED BY 'secret';"
                    - sudo mysql -u root -e "GRANT ALL ON omm_test.* TO 'homestead'@'%';"
                    - php bin/console doctrine:database:create --env=test
                    - php bin/console doctrine:schema:create --env=test
                    - php bin/console doctrine:fixtures:load -n -vvv --env=test
                    - ls -la /home/scrutinizer/build/public/uploads/images/
                    - php -i | grep -i configure
                override:
                    - php ./bin/phpunit
            dependencies:
                before:
                    - sudo apt-get install -y exiftool
    environment:
        php: 7.4.3 # match Dayna for now
        variables: 
            APP_SECRET: '60f86b9041f9d83add056497f9616159ca90c437'
            TEST_EXIFTOOL_PATH: '/usr/bin/exiftool'
filter:
    excluded_paths:
        - 'tests/*'
        - 'bin/*'
        - '*.min.js'
        - '*/vendor/*'
        - 'src/Kernel.php' # It wasn't me, guv...
checks:
    php: true
    javascript: true
coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true