-
Notifications
You must be signed in to change notification settings - Fork 3
/
.scrutinizer.yml
51 lines (45 loc) · 1.25 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
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
php_cs_fixer:
config: { level: psr2 } # or psr1 if you would just like to get fixes for PSR1
php_code_sniffer:
config:
standard: "PSR2"
filter:
excluded_paths:
- 'tests/*'
- 'fixtures/*'
- 'features/*'
build:
project_setup:
before:
-
command: 'phantomjs --webdriver=8643'
background: true
# run migrations for now only http requests
#- wget http://test.local
dependencies:
before:
# Uncomment below to create database and user "test"
#- gunzip test.sql.gz
#- mysql -uroot -e "CREATE DATABASE test"
#- mysql -uroot test < test.sql
#- mysql -uroot -e "CREATE USER 'test'@'localhost' IDENTIFIED BY 'test'";
#- mysql -uroot -e "GRANT ALL PRIVILEGES ON *.* TO 'test'@'localhost' WITH GRANT OPTION";
environment:
php:
version: 5.5
variables:
APPLICATION_ENV: ci
hosts:
# change to your actual testing domain
test.local: '127.0.0.1'
apache2:
modules: ['rewrite']
sites:
landscape:
web_root: 'www/'
# change to your actual testing domain
host: 'test.local'