-
-
Notifications
You must be signed in to change notification settings - Fork 71
/
.scrutinizer.yml
58 lines (58 loc) · 1.22 KB
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
build:
image: default-bionic
environment:
node:
version: v16
php:
version: 8.2
hosts:
testcraft.test: '127.0.0.1'
variables:
DB_DSN: 'mysql:host=127.0.0.1;port=3306;dbname=testcraft'
DB_USER: 'root'
DB_PASSWORD: ''
DB_SCHEMA: ''
DB_TABLE_PREFIX: ''
SECURITY_KEY: 'abcde12345'
DEFAULT_SITE_URL: 'http://testcraft.test/'
XDEBUG_MODE: 'coverage'
cache:
directories:
- node_modules/
- vendor/
- ~/.composer/cache/
dependencies:
before:
- mysql -uroot -h 127.0.0.1 -e 'CREATE DATABASE testcraft'
nodes:
analysis:
services:
mysql: 5.7
project_setup:
override:
- true
tests:
override:
- php-scrutinizer-run
- js-scrutinizer-run
tests:
services:
mysql: 5.7
project_setup:
override:
- true
tests:
override:
- command: 'php vendor/bin/codecept run unit --coverage-xml'
coverage:
file: tests/_output/coverage.xml
format: clover
checks:
php: true
javascript: true
coding_style:
php: { }
filter:
excluded_paths:
- '*/dist/*'
- '*/lib/*'