blob: 9f1759ed241038e168ae054f36e6cdebe6ea1130 (
plain)
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
|
tools:
php_sim: true
php_pdepend: true
php_analyzer:
config:
check_variables:
enabled: false
dependency_paths:
- libs/
filter:
paths:
- core/
- plugins/
excluded_paths:
- '*/tests/*'
- '*/Test/*'
build:
environment:
php:
version: 5.6.9
dependencies:
before:
- cp tests/PHPUnit/config.ini.travis.php config/config.ini.php
tests:
override:
-
command: cd tests/PHPUnit && ../../vendor/bin/phpunit --testsuite UnitTests --coverage-clover clover-unit.xml --no-globals-backup --tap
coverage:
file: tests/PHPUnit/clover-unit.xml
format: php-clover
|