Skip to content

Commit c615c74

Browse files
committed
fix travis and phpunit configs
1 parent 2fc05e7 commit c615c74

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: php
22

3+
dist: trusty
4+
35
matrix:
46
include:
57
- php: 7.1
@@ -12,4 +14,4 @@ matrix:
1214

1315
before_script: composer install
1416

15-
script: phpunit --coverage-text --configuration phpunit.xml.dist
17+
script: vendor/bin/phpunit --coverage-text --configuration phpunit.xml.dist

phpunit.xml.dist

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<phpunit backupGlobals="false"
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.7/phpunit.xsd"
5+
backupGlobals="false"
46
backupStaticAttributes="false"
7+
beStrictAboutTestsThatDoNotTestAnything="true"
8+
beStrictAboutChangesToGlobalState="true"
9+
beStrictAboutOutputDuringTests="true"
510
colors="true"
611
convertErrorsToExceptions="true"
712
convertNoticesToExceptions="true"
813
convertWarningsToExceptions="true"
914
processIsolation="false"
1015
stopOnFailure="false"
11-
syntaxCheck="false"
1216
bootstrap="tests/bootstrap.php"
1317
>
1418
<testsuites>
15-
<testsuite name="Renderer Tests">
16-
<directory>tests/</directory>
19+
<testsuite name="PHP-View Test Suite">
20+
<directory>./tests/</directory>
1721
</testsuite>
1822
</testsuites>
1923

2024
<filter>
21-
<whitelist>
22-
<directory>src/</directory>
25+
<whitelist processUncoveredFilesFromWhitelist="true">
26+
<directory>./src/</directory>
2327
</whitelist>
2428
</filter>
2529
</phpunit>

0 commit comments

Comments
 (0)