-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Standard coverage output in the PHPUnit settings * CI for PHP 7.1 * Swap ! and # behaviours for interpolations to match pug-js * Fix PHP 7.1 non-numeric error
- Loading branch information
1 parent
d58aed2
commit 0f1ecb2
Showing
9 changed files
with
66 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
# Coverage | ||
/build | ||
coverage.xml | ||
/coverage | ||
|
||
# Composer | ||
/vendor | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ php: | |
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- hhvm | ||
|
||
before_script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,46 @@ | ||
<phpunit | ||
bootstrap="tests/lib/bootstrap.php" | ||
backupGlobals="false" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
> | ||
<testsuites> | ||
<testsuite name="WhiteSpace"> | ||
<file>tests/features/whiteSpace.php</file> | ||
</testsuite> | ||
<testsuite name="Templates"> | ||
<file>tests/features/templates.php</file> | ||
</testsuite> | ||
<testsuite name="Issues"> | ||
<file>tests/features/issues.php</file> | ||
</testsuite> | ||
<testsuite name="Features"> | ||
<directory suffix=".php">tests/features</directory> | ||
<exclude>tests/features/templates.php</exclude> | ||
<exclude>tests/features/whiteSpace.php</exclude> | ||
<exclude>tests/features/issues.php</exclude> | ||
</testsuite> | ||
<testsuite name="Compiler"> | ||
<directory suffix=".php">tests/nodes</directory> | ||
<directory suffix=".php">tests/compiler</directory> | ||
</testsuite> | ||
<testsuite name="Performance"> | ||
<directory suffix=".php">tests/performance</directory> | ||
</testsuite> | ||
<testsuite name="Example"> | ||
<file>tests/example/example.php</file> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">src</directory> | ||
</whitelist> | ||
</filter> | ||
bootstrap="tests/lib/bootstrap.php" | ||
backupGlobals="false" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
> | ||
<testsuites> | ||
<testsuite name="WhiteSpace"> | ||
<file>tests/features/whiteSpace.php</file> | ||
</testsuite> | ||
<testsuite name="Templates"> | ||
<file>tests/features/templates.php</file> | ||
</testsuite> | ||
<testsuite name="Issues"> | ||
<file>tests/features/issues.php</file> | ||
</testsuite> | ||
<testsuite name="Features"> | ||
<directory suffix=".php">tests/features</directory> | ||
<exclude>tests/features/templates.php</exclude> | ||
<exclude>tests/features/whiteSpace.php</exclude> | ||
<exclude>tests/features/issues.php</exclude> | ||
</testsuite> | ||
<testsuite name="Compiler"> | ||
<directory suffix=".php">tests/nodes</directory> | ||
<directory suffix=".php">tests/compiler</directory> | ||
</testsuite> | ||
<testsuite name="Performance"> | ||
<directory suffix=".php">tests/performance</directory> | ||
</testsuite> | ||
<testsuite name="Example"> | ||
<file>tests/example/example.php</file> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">src</directory> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log type="coverage-clover" target="./coverage/result.xml" /> | ||
<log type="coverage-html" target="./coverage/result" /> | ||
<log type="coverage-text" target="./coverage/result.txt" /> | ||
</logging> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<h1>1</h1> | ||
<div style="background-image: url(/img/bar.jpg);" class="featured"></div> | ||
<a href="?id=bar"></a> | ||
<p><b>Yop</b></p> | ||
<p><b>Yop</b></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<h1>1</h1> | ||
<div style='background-image: url(/img/bar.jpg);' class='featured'></div> | ||
<a href='?id=bar'></a> | ||
<p><b>Yop</b></p> | ||
<p><b>Yop</b></p> |