Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
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
夏彬
yii2bootstrap
Commits
376bddbe
Commit
376bddbe
authored
Jul 29, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #678 from suralc/coveralls-impl-2
Coveralls.io travis settings and phpunit
parents
458f50ac
53cb062e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
2 deletions
+29
-2
.coveralls.yml
.coveralls.yml
+4
-0
.travis.yml
.travis.yml
+7
-1
phpunit.xml.dist
phpunit.xml.dist
+17
-0
.gitignore
tests/unit/runtime/.gitignore
+1
-1
.gitkeep
tests/unit/runtime/coveralls/.gitkeep
+0
-0
No files found.
.coveralls.yml
0 → 100644
View file @
376bddbe
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 @
376bddbe
...
...
@@ -6,7 +6,13 @@ php:
-
5.5
before_script
:
-
composer self-update && 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 @
376bddbe
...
...
@@ -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 @
376bddbe
*
*
\ No newline at end of file
tests/unit/runtime/coveralls/.gitkeep
0 → 100644
View file @
376bddbe
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