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
c0686fdd
Commit
c0686fdd
authored
May 04, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/yiisoft/yii2
parents
3b12bbd8
d23bc9a2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
4 deletions
+26
-4
.travis.yml
.travis.yml
+15
-0
build
build/build
+1
-1
phpunit.xml.dist
phpunit.xml.dist
+9
-2
config.php
tests/unit/data/config.php
+1
-1
No files found.
.travis.yml
0 → 100644
View file @
c0686fdd
language
:
php
php
:
-
5.3
-
5.4
-
5.5
env
:
-
DB=mysql
before_script
:
-
sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS yiitest;'; fi"
script
:
phpunit
\ No newline at end of file
build/build
View file @
c0686fdd
...
...
@@ -16,5 +16,5 @@ require(__DIR__ . '/../framework/yii.php');
$id
=
'yiic-build'
;
$basePath
=
__DIR__
;
$application
=
new
yii\console\Application
(
$id
,
$basePath
);
$application
=
new
yii\console\Application
(
array
(
'id'
=>
$id
,
'basePath'
=>
$basePath
)
);
$application
->
run
();
tests/unit/phpunit.xml
→
phpunit.xml.dist
View file @
c0686fdd
<phpunit
bootstrap=
"bootstrap.php"
colors=
"false"
<?xml version="1.0" encoding="utf-8"?>
<phpunit
bootstrap=
"./tests/unit/bootstrap.php"
colors=
"true"
convertErrorsToExceptions=
"true"
convertNoticesToExceptions=
"true"
convertWarningsToExceptions=
"true"
stopOnFailure=
"false"
>
<testsuites>
<testsuite
name=
"Yii Test Suite"
>
<directory>
./tests/unit
</directory>
</testsuite>
</testsuites>
</phpunit>
\ No newline at end of file
tests/unit/data/config.php
View file @
c0686fdd
...
...
@@ -3,7 +3,7 @@
return
array
(
'mysql'
=>
array
(
'dsn'
=>
'mysql:host=127.0.0.1;dbname=yiitest'
,
'username'
=>
'
root
'
,
'username'
=>
'
travis
'
,
'password'
=>
''
,
'fixture'
=>
__DIR__
.
'/mysql.sql'
,
),
...
...
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