Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yii2-softdelete
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
digisin
yii2-softdelete
Commits
4dafc55e
Commit
4dafc55e
authored
Jun 20, 2015
by
cornernote
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prepare for unit tests
parent
a9e6612d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
0 deletions
+89
-0
.scrutinizer.yml
.scrutinizer.yml
+36
-0
.travis.yml
.travis.yml
+23
-0
phpunit.xml.dist
phpunit.xml.dist
+30
-0
No files found.
.scrutinizer.yml
0 → 100644
View file @
4dafc55e
filter
:
excluded_paths
:
[
tests/*
]
checks
:
php
:
code_rating
:
true
remove_extra_empty_lines
:
true
remove_php_closing_tag
:
true
remove_trailing_whitespace
:
true
fix_use_statements
:
remove_unused
:
true
preserve_multiple
:
false
preserve_blanklines
:
true
order_alphabetically
:
true
fix_php_opening_tag
:
true
fix_linefeed
:
true
fix_line_ending
:
true
fix_identation_4spaces
:
true
fix_doc_comments
:
true
tools
:
external_code_coverage
:
timeout
:
600
runs
:
3
php_analyzer
:
true
php_code_coverage
:
false
php_code_sniffer
:
config
:
standard
:
PSR2
filter
:
paths
:
[
'
src'
]
php_loc
:
enabled
:
true
excluded_dirs
:
[
vendor
,
tests
]
php_cpd
:
enabled
:
true
excluded_dirs
:
[
vendor
,
tests
]
\ No newline at end of file
.travis.yml
0 → 100644
View file @
4dafc55e
language
:
php
php
:
-
5.4
-
5.5
-
5.6
-
hhvm
install
:
-
composer self-update
-
composer global require "fxp/composer-asset-plugin:1.0.0"
-
composer install
before_script
:
-
travis_retry composer self-update
-
travis_retry composer install --no-interaction --prefer-source --dev
script
:
-
phpunit --coverage-text --coverage-clover=coverage.clover
after_script
:
-
php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
\ No newline at end of file
phpunit.xml.dist
0 → 100644
View file @
4dafc55e
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap=
"./tests/functional/bootstrap.php"
backupGlobals=
"false"
backupStaticAttributes=
"false"
colors=
"true"
verbose=
"true"
convertErrorsToExceptions=
"true"
convertNoticesToExceptions=
"true"
convertWarningsToExceptions=
"true"
processIsolation=
"false"
stopOnFailure=
"false"
>
<testsuites>
<testsuite
name=
"Yii2 SoftDelete Test Suite"
>
<directory>
./tests/functional
</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory
suffix=
".php"
>
./src/
</directory>
</whitelist>
</filter>
<logging>
<log
type=
"tap"
target=
"build/report.tap"
/>
<log
type=
"junit"
target=
"build/report.junit.xml"
/>
<log
type=
"coverage-html"
target=
"build/coverage"
charset=
"UTF-8"
yui=
"true"
highlight=
"true"
/>
<log
type=
"coverage-text"
target=
"build/coverage.txt"
/>
<log
type=
"coverage-clover"
target=
"build/logs/clover.xml"
/>
</logging>
</phpunit>
\ 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