build: environment: php: version: 7.4 mysql: 5.7 variables: APP_KEY: 'base64:OYl4Bk9ekouOUIRXyeTD0FVi+cJ9D+HMyDJBgSBSUuI=' APP_ENV: 'testing' APP_URL: 'http://laravel.dev' API_HOST: 'laravel.dev' DB_HOST: '127.0.0.1' DB_DATABASE: 'swinn-test' DB_USERNAME: 'root' DB_PASSWORD: '' MAIL_DRIVER: 'log' dependencies: before: - mysql -uroot -e 'CREATE DATABASE `swinn-test`' tests: before: - chmod -R 777 storage - chmod -R 777 bootstrap/cache - npm run production - php artisan migrate --force - php artisan passport:install nodes: analysis: project_setup: override: - 'true' tests: override: - php-scrutinizer-run - command: phpcs-run use_website_config: true - js-scrutinizer-run - command: 'vendor/bin/phpunit --coverage-clover=coverage' coverage: file: 'coverage' format: 'php-clover' tests: true filter: paths: - 'app/*' excluded_paths: - 'app/views/*' - 'app/config/*' - 'app/database/*' checks: php: true javascript: true coding_style: php: spaces: within: brackets: true