|
|
@ -14,6 +14,7 @@ services: |
|
|
|
install: |
|
|
|
install: |
|
|
|
- composer self-update && composer --version |
|
|
|
- composer self-update && composer --version |
|
|
|
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist |
|
|
|
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist |
|
|
|
|
|
|
|
- composer install --prefer-dist |
|
|
|
- tests/unit/data/travis/mongodb-setup.sh |
|
|
|
- tests/unit/data/travis/mongodb-setup.sh |
|
|
|
- tests/unit/data/travis/apc-setup.sh |
|
|
|
- tests/unit/data/travis/apc-setup.sh |
|
|
|
- tests/unit/data/travis/memcache-setup.sh |
|
|
|
- tests/unit/data/travis/memcache-setup.sh |
|
|
@ -27,7 +28,7 @@ before_script: |
|
|
|
- mongo yii2test --eval 'db.addUser("travis", "test");' |
|
|
|
- mongo yii2test --eval 'db.addUser("travis", "test");' |
|
|
|
|
|
|
|
|
|
|
|
script: |
|
|
|
script: |
|
|
|
- phpunit --coverage-text --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor |
|
|
|
- vendor/bin/phpunit --coverage-text --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor |
|
|
|
|
|
|
|
|
|
|
|
#after_script: |
|
|
|
#after_script: |
|
|
|
# - php vendor/bin/coveralls |
|
|
|
# - php vendor/bin/coveralls |
|
|
|