File tree 2 files changed +35
-15
lines changed
2 files changed +35
-15
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ install:
10
10
- travis_retry composer require satooshi/php-coveralls "^1" --no-update --dev
11
11
- travis_retry composer install
12
12
script :
13
- - phpunit
13
+ - phpunit -c phpunit.xml.dist
14
14
cache :
15
15
apt : true
16
16
directories :
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit bootstrap =" vendor/autoload.php"
3
3
backupGlobals =" false"
4
- colors =" true"
5
- stopOnFailure =" true"
4
+ convertErrorsToExceptions =" true"
5
+ convertNoticesToExceptions =" true"
6
+ convertWarningsToExceptions =" true"
6
7
stopOnError =" false"
8
+ stopOnFailure =" false"
7
9
verbose =" true" >
8
10
9
- <php >
10
- </php >
11
- <testsuites >
12
-
11
+ <filter >
12
+ <whitelist >
13
+ <directory suffix =" .php" >src/</directory >
14
+ </whitelist >
15
+ </filter >
13
16
17
+ <testsuites >
14
18
<testsuite name =" ClassTemplate" >
15
- <directory suffix =" Test.php" >tests/ClassTemplate</directory >
16
- <exclude >
17
- <file >tests/ClassTemplate/ClassDeclareTraitTest.php</file >
18
- </exclude >
19
- </testsuite >
20
-
21
- <testsuite name =" ClassTrait" >
22
- <file >tests/ClassTemplate/ClassDeclareTraitTest.php</file >
19
+ <directory suffix =" Test.php" >tests/ClassTemplate</directory >
23
20
</testsuite >
24
21
</testsuites >
22
+
23
+ <logging >
24
+
25
+ <log type =" coverage-text" target =" php://stdout" showUncoveredFiles =" true" />
26
+
27
+ <log type =" coverage-html"
28
+ target =" build/coverage"
29
+ title =" CodeGen"
30
+ charset =" UTF-8"
31
+ yui =" true"
32
+ highlight =" true"
33
+ lowUpperBound =" 35"
34
+ highLowerBound =" 70" />
35
+
36
+ <log type =" coverage-clover"
37
+ target =" build/logs/clover.xml" />
38
+
39
+ <log type =" junit"
40
+ target =" build/logs/junit.xml"
41
+ logIncompleteSkipped =" false" />
42
+
43
+ </logging >
44
+
25
45
</phpunit >
You can’t perform that action at this time.
0 commit comments