Repository Config
build:
nodes:
tests_and_analysis:
project_setup:
before:
- sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
- sudo tar vxf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
- sudo cp wkhtmltox/bin/wk* /usr/local/bin/
- sudo chmod 777 /usr/local/bin/wkhtmltopdf
- sudo cp wkhtmltox/bin/wk* /usr/bin/
- sudo chmod 777 /usr/bin/wkhtmltopdf
override:
- 'true'
services:
elasticsearch: 6.4.2
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: false
-
command: './vendor/bin/phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'php-clover'
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php: { }