mirror of
https://github.com/yiisoft/yii.git
synced 2026-02-19 17:11:23 +01:00
use our own phpunit intead of travis'
fixed php5.6 build warnings
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -62,4 +62,7 @@ Desktop.ini
|
||||
|
||||
.*.sw[a-z]
|
||||
*.un~
|
||||
Session.vim
|
||||
Session.vim
|
||||
|
||||
/composer.lock
|
||||
/vendor
|
||||
|
||||
11
.travis.yml
11
.travis.yml
@@ -36,13 +36,20 @@ services:
|
||||
- redis-server
|
||||
- memcached
|
||||
|
||||
# cache vendor dirs
|
||||
cache:
|
||||
directories:
|
||||
- vendor
|
||||
- $HOME/.composer/cache
|
||||
|
||||
install:
|
||||
- travis_retry composer self-update && composer --version
|
||||
- travis_retry composer update --prefer-dist --no-interaction
|
||||
|
||||
before_script:
|
||||
- ./tests/travis/mysql-setup.sh
|
||||
- ./tests/travis/postgresql-setup.sh
|
||||
- ./tests/travis/memcache-setup.sh
|
||||
- cd tests
|
||||
|
||||
script: phpunit --verbose --colors --no-globals-backup --exclude-group mssql,oci framework
|
||||
script: cd tests && ../vendor/bin/phpunit --verbose --colors --no-globals-backup --exclude-group mssql,oci framework
|
||||
|
||||
|
||||
@@ -80,5 +80,9 @@
|
||||
"framework/YiiBase.php",
|
||||
"framework/yii.php"
|
||||
]
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~3.7",
|
||||
"phpunit/phpunit-selenium": "~1.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user