|
|
|
@ -12,6 +12,7 @@ services:
|
|
|
|
|
- mongodb |
|
|
|
|
|
|
|
|
|
install: |
|
|
|
|
# core framework: |
|
|
|
|
- composer self-update && composer --version |
|
|
|
|
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist |
|
|
|
|
- composer install --prefer-dist |
|
|
|
@ -19,6 +20,9 @@ install:
|
|
|
|
|
- tests/unit/data/travis/apc-setup.sh |
|
|
|
|
- tests/unit/data/travis/memcache-setup.sh |
|
|
|
|
- tests/unit/data/travis/cubrid-setup.sh |
|
|
|
|
# basic application: |
|
|
|
|
- composer install --dev --prefer-dist -d apps/basic |
|
|
|
|
- cd apps/basic && php vendor/bin/codecept build && cd ../.. |
|
|
|
|
|
|
|
|
|
before_script: |
|
|
|
|
- echo 'elasticsearch version ' && curl http://localhost:9200/ |
|
|
|
@ -29,6 +33,7 @@ before_script:
|
|
|
|
|
|
|
|
|
|
script: |
|
|
|
|
- vendor/bin/phpunit --coverage-text --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor |
|
|
|
|
- cd apps/basic && php vendor/bin/codecept run functional && cd ../.. |
|
|
|
|
|
|
|
|
|
#after_script: |
|
|
|
|
# - php vendor/bin/coveralls |
|
|
|
|