Commit 5f7653b0 by Carsten Brandt

run basic app functional tests within the main repo test chain

parent a04e77e5
...@@ -12,6 +12,7 @@ services: ...@@ -12,6 +12,7 @@ services:
- mongodb - mongodb
install: install:
# core framework:
- 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 - composer install --prefer-dist
...@@ -19,6 +20,9 @@ install: ...@@ -19,6 +20,9 @@ install:
- 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
- tests/unit/data/travis/cubrid-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: before_script:
- echo 'elasticsearch version ' && curl http://localhost:9200/ - echo 'elasticsearch version ' && curl http://localhost:9200/
...@@ -29,6 +33,7 @@ before_script: ...@@ -29,6 +33,7 @@ before_script:
script: script:
- vendor/bin/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
- cd apps/basic && php vendor/bin/codecept run functional && cd ../..
#after_script: #after_script:
# - php vendor/bin/coveralls # - php vendor/bin/coveralls
language: php
php:
- 5.5
- 5.4
before_script:
- composer install --dev --prefer-dist
- php vendor/bin/codecept build
script:
- php vendor/bin/codecept run functional
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment