Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
e9f22eb4
Commit
e9f22eb4
authored
Jul 29, 2013
by
Suralc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Travis-ci and phpunit config for coveralls
parent
e5cc17f9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
3 deletions
+33
-3
.coveralls.yml
.coveralls.yml
+5
-0
.travis.yml
.travis.yml
+8
-2
phpunit.xml.dist
phpunit.xml.dist
+18
-0
.gitignore
tests/unit/runtime/.gitignore
+2
-1
No files found.
.coveralls.yml
0 → 100644
View file @
e9f22eb4
service_name
:
travis-ci
src_dir
:
framework/yii
coverage_clover
:
tests/unit/runtime/coveralls/clover.xml
json_path
:
tests/unit/runtime/coveralls/coveralls-upload.json
\ No newline at end of file
.travis.yml
View file @
e9f22eb4
...
...
@@ -6,7 +6,13 @@ php:
-
5.5
before_script
:
-
composer selfupdate && composer --version
-
composer require satooshi/php-coveralls 0.6.*
-
mysql -e 'CREATE DATABASE yiitest;';
-
psql -U postgres -c 'CREATE DATABASE yiitest;';
script
:
phpunit
\ No newline at end of file
script
:
-
phpunit --coverage-clover tests/unit/runtime/coveralls/clover.xml
after_script
:
-
php vendor/bin/coveralls
\ No newline at end of file
phpunit.xml.dist
View file @
e9f22eb4
...
...
@@ -10,4 +10,21 @@
<directory>
./tests/unit
</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<file>
framework/yii/helpers/Json.php
</file>
<file>
framework/yii/helpers/StringHelper.php
</file>
<file>
framework/yii/helpers/VarDumper.php
</file>
<file>
framework/yii/helpers/Html.php
</file>
<file>
framework/yii/helpers/Inflector.php
</file>
<file>
framework/yii/helpers/FileHelper.php
</file>
<file>
framework/yii/helpers/ArrayHelper.php
</file>
<file>
framework/yii/helpers/Console.php
</file>
<file>
framework/yii/i18n/GettextFile.php
</file>
<file>
framework/yii/web/ResponseFormatter.php
</file>
<directory
suffix=
"Exception.php"
>
framework/yii/base
</directory>
<directory
suffix=
".php"
>
framework/yii/db/mssql
</directory>
<directory
suffix=
".php"
>
framework/yii/bootstrap
</directory>
</blacklist>
</filter>
</phpunit>
\ No newline at end of file
tests/unit/runtime/.gitignore
View file @
e9f22eb4
*
*
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment