Commit 6dfc9e08 by Qiang Xue

re-enabled app tests.

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