Browse Source

re-enabled app tests.

tags/2.0.0-rc
Qiang Xue 10 years ago
parent
commit
6dfc9e08b9
  1. 14
      .travis.yml

14
.travis.yml

@ -30,7 +30,7 @@ install:
- tests/unit/data/travis/memcache-setup.sh
- tests/unit/data/travis/cubrid-setup.sh
# basic and advanced application:
# - tests/unit/data/travis/setup-apps.sh
- tests/unit/data/travis/setup-apps.sh
before_script:
- echo 'elasticsearch version ' && curl http://localhost:9200/
@ -39,16 +39,16 @@ before_script:
- tests/unit/data/travis/sphinx-setup.sh
- mongo yii2test --eval 'db.addUser("travis", "test");'
# basic and advanced application:
# - tests/unit/data/travis/init-apps.sh
- tests/unit/data/travis/init-apps.sh
script:
- vendor/bin/phpunit --verbose --coverage-clover=coverage.clover --exclude-group mssql,oci,wincache,xcache,zenddata
# - cd apps/basic && php vendor/bin/codecept run
# - cd ../advanced/backend && ../vendor/bin/codecept run
# - cd ../common && ../vendor/bin/codecept run
# - cd ../frontend && ../vendor/bin/codecept run
- cd apps/basic && php vendor/bin/codecept run
- cd ../advanced/backend && ../vendor/bin/codecept run
- cd ../common && ../vendor/bin/codecept run
- cd ../frontend && ../vendor/bin/codecept run
after_script:
# - cd ../../..
- cd ../../..
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

Loading…
Cancel
Save