Commit 77dae9af by Alexander Makarov

Fixes #2341, fixes #2317: moved codeception dependecies to "suggest" section,…

Fixes #2341, fixes #2317: moved codeception dependecies to "suggest" section, fixed codeception version on stable branch
parent 985682c3
...@@ -22,6 +22,8 @@ install: ...@@ -22,6 +22,8 @@ install:
- tests/unit/data/travis/cubrid-setup.sh - tests/unit/data/travis/cubrid-setup.sh
# basic application: # basic application:
- composer install --dev --prefer-dist -d apps/basic - composer install --dev --prefer-dist -d apps/basic
- cd apps/basic && composer require --dev codeception/codeception:1.8.*@dev codeception/specify:* codeception/verify:*
- cd apps/basic && composer update
- cd apps/basic && php vendor/bin/codecept build && cd ../.. - cd apps/basic && php vendor/bin/codecept build && cd ../..
- cd apps && php -S localhost:8080 & - cd apps && php -S localhost:8080 &
......
...@@ -21,12 +21,14 @@ ...@@ -21,12 +21,14 @@
}, },
"require-dev": { "require-dev": {
"yiisoft/yii2-codeception": "*", "yiisoft/yii2-codeception": "*",
"codeception/codeception": "*",
"codeception/specify": "*",
"codeception/verify": "*",
"yiisoft/yii2-debug": "*", "yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*" "yiisoft/yii2-gii": "*"
}, },
"suggest": {
"codeception/codeception": "1.8.*@dev",
"codeception/specify": "*",
"codeception/verify": "*"
},
"scripts": { "scripts": {
"post-create-project-cmd": [ "post-create-project-cmd": [
"yii\\composer\\Installer::setPermission" "yii\\composer\\Installer::setPermission"
......
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