-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
52 lines (52 loc) · 1.03 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
build:
image: default-bionic
environment:
node:
version: v16
php:
version: 8.2
hosts:
test.local: '127.0.0.1'
variables:
XDEBUG_MODE: 'coverage'
cache:
directories:
- node_modules/
- vendor/
- ~/.composer/cache/
dependencies:
before:
- sudo echo "127.0.0.1 mysql" | sudo tee -a /etc/hosts
- mysql -uroot -h mysql -e 'CREATE DATABASE test'
- cp .github/craft/.env.mysql .env
- cp .github/craft/craft craft
- cp .github/craft/bootstrap.php bootstrap.php
nodes:
analysis:
services:
mysql: 8.0
project_setup:
override:
- true
tests:
override:
- php-scrutinizer-run
- js-scrutinizer-run
tests:
services:
mysql: 8.0
project_setup:
override:
- true
tests:
override:
- command: 'echo "done"'
checks:
php: true
javascript: true
coding_style:
php: { }
filter:
excluded_paths:
- '*/dist/*'
- '*/lib/*'