This repository has been archived by the owner on Aug 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
75 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
engines: | ||
duplication: | ||
enabled: true | ||
config: | ||
languages: | ||
- ruby | ||
- javascript | ||
- python | ||
- php | ||
fixme: | ||
enabled: true | ||
phpmd: | ||
enabled: true | ||
ratings: | ||
paths: | ||
- "**.inc" | ||
- "**.js" | ||
- "**.jsx" | ||
- "**.module" | ||
- "**.php" | ||
- "**.py" | ||
- "**.rb" | ||
exclude_paths: | ||
- tests/* |
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 @@ | ||
composer.phar | ||
composer.lock | ||
/vendor/ | ||
.idea/ | ||
*.lock | ||
build/ |
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,13 +1,22 @@ | ||
language: php | ||
php: | ||
- '5.4' | ||
- '5.5' | ||
- '5.6' | ||
- '7.0' | ||
- '7.1' | ||
- hhvm | ||
- nightly | ||
|
||
before_script: | ||
- "composer require codeclimate/php-test-reporter --dev" | ||
- "composer install" | ||
|
||
script: | ||
- "phpunit --coverage-text --coverage-clover build/logs/clover.xml" | ||
|
||
after_script: | ||
- CODECLIMATE_REPO_TOKEN="4e543b308df41a23260a0dde9e178c2a8eb7bea7561917dd13b51df342c2665c" vendor/bin/test-reporter --stdout > codeclimate.json | ||
- "sh -c 'if [ \"$TRAVIS_PHP_VERSION\" != \"hhvm\" ]; then curl -X POST -d @codeclimate.json -H \"Content-Type: application/json\" -H \"User-Agent: Code Climate (PHP Test Reporter v0.1.1)\" https://codeclimate.com/test_reports ; fi'" | ||
|
||
addons: | ||
code_climate: | ||
repo_token: 16f6bab8e283b343f3afe457dc6863a4ec79999506aa8bb77addcf7d96930e87 | ||
repo_token: 4e543b308df41a23260a0dde9e178c2a8eb7bea7561917dd13b51df342c2665c |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<phpunit bootstrap="tests/bootstrap.php"> | ||
|
||
<testsuites> | ||
<testsuite name="Query"> | ||
<directory>tests/Test/Query</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist | ||
addUncoveredFilesFromWhitelist="true" | ||
processUncoveredFilesFromWhitelist="true"> | ||
|
||
<directory suffix=".php">./src/ORM/</directory> | ||
</whitelist> | ||
</filter> | ||
|
||
<logging> | ||
<log type="coverage-html" target="./build/html/"/> | ||
<log type="coverage-clover" target="./build/logs/clover.xml"/> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace Test\Query\BuildTest; | ||
|
||
class Test extends \PHPUnit | ||
{ | ||
|
||
} |