use our own phpunit intead of travis'

fixed php5.6 build warnings
This commit is contained in:
Carsten Brandt
2016-12-05 16:32:03 +01:00
parent f9824170b2
commit 853bc8b2f5
3 changed files with 17 additions and 3 deletions

5
.gitignore vendored
View File

@@ -62,4 +62,7 @@ Desktop.ini
.*.sw[a-z]
*.un~
Session.vim
Session.vim
/composer.lock
/vendor

View File

@@ -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

View File

@@ -80,5 +80,9 @@
"framework/YiiBase.php",
"framework/yii.php"
]
},
"require-dev": {
"phpunit/phpunit": "~3.7",
"phpunit/phpunit-selenium": "~1.4.0"
}
}