-
Notifications
You must be signed in to change notification settings - Fork 1
/
.scrutinizer.yml
51 lines (51 loc) · 1.68 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
build:
dependencies:
before:
- sudo apt-get update -y
- apt-cache policy libssl1.0.0
- sudo apt-get install libssl1.0.0 libssl-dev openssl openssl -y
- curl -O https://download.arangodb.com/arangodb32/xUbuntu_14.04/Release.key
- sudo apt-key add - < Release.key
- echo 'deb https://download.arangodb.com/arangodb32/xUbuntu_14.04/ /' | sudo tee /etc/apt/sources.list.d/arangodb.list
- sudo apt-get install apt-transport-https
- sudo apt-get update
- sudo debconf-set-selections <<< 'arangodb3 arangodb3/password password root';
- sudo sudo debconf-set-selections <<< 'arangodb3 arangodb3/password_again password root';
- sudo debconf-set-selections <<< 'arangodb3 arangodb3/upgrade boolean true';
- sudo debconf-set-selections <<< 'arangodb3 arangodb3/backup boolean true';
- sudo debconf-set-selections <<< 'arangodb3 arangodb3/config select yes';
- sudo debconf-set-selections <<< 'arangodb3 arangodb3/storage_engine select auto';
- sudo apt-get install arangodb3=3.2.6
environment:
php:
version: 7.1
dependencies:
before:
- composer install --prefer-source
tests:
override:
-
command: 'bash run-tests.sh'
coverage:
file: 'coverage.xml'
format: clover
imports:
- php
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- vendor/*
- tests/*
tools:
php_sim: false
php_cpd: false
php_pdepend: true
php_analyzer: true
php_changetracking: true
filter:
excluded_paths:
- tests/*
- vendor/*