mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-25 03:01:21 +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:
|
||||
- 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
|
||||
- |
|
||||
if (php --version | grep -i HHVM > /dev/null); then
|
||||
echo "skipping application tests on HHVM"
|
||||
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:
|
||||
- cd ../../..
|
||||
|
||||
Reference in New Issue
Block a user