Browse Source

run basic app functional tests within the main repo test chain

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
5f7653b0c7
  1. 5
      .travis.yml
  2. 12
      apps/basic/.travis.yml

5
.travis.yml

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

12
apps/basic/.travis.yml

@ -1,12 +0,0 @@
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
Loading…
Cancel
Save