Skip to content

Commit de909f6

Browse files
Fix travis testing and code coverage
1 parent 100331a commit de909f6

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/build
12
/vendor
23
composer.lock
34
.DS_Store

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ before_script:
1515

1616
script:
1717
- mkdir -p build/logs
18-
- phpunit --coverage-clover build/logs/clover.xml
18+
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
1919

2020
after_script:
21-
- php vendor/bin/coveralls -v
21+
- vendor/bin/php-coveralls -v

phpunit.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@
88
convertWarningsToExceptions="true"
99
processIsolation="false"
1010
stopOnFailure="true"
11-
syntaxCheck="false"
1211
>
1312
<testsuites>
1413
<testsuite name="PHPProxy Test Suite">
1514
<directory>tests/Proxy/</directory>
1615
</testsuite>
1716
</testsuites>
17+
<filter>
18+
<whitelist>
19+
<directory suffix=".php">./src</directory>
20+
</whitelist>
21+
</filter>
1822
</phpunit>

0 commit comments

Comments
 (0)