mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-25 19:20:29 +08:00
skip application tests on HHVM
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -47,10 +47,15 @@ before_script:
|
|||||||
|
|
||||||
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 ../advanced/backend && ../vendor/bin/codecept run
|
if (php --version | grep -i HHVM > /dev/null); then
|
||||||
- cd ../common && ../vendor/bin/codecept run
|
echo "skipping application tests on HHVM"
|
||||||
- cd ../frontend && ../vendor/bin/codecept run
|
else
|
||||||
|
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
|
||||||
|
fi
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- cd ../../..
|
- cd ../../..
|
||||||
|
|||||||
Reference in New Issue
Block a user