Browse Source

try to fix basic app travis test.

Qiang Xue 12 years ago
parent
commit
c761aab7c6
2 changed files with 4 additions and 5 deletions
  1. 1 4
      .travis.yml
  2. 3 1
      composer.json

+ 1 - 4
.travis.yml

@@ -4,11 +4,8 @@ php:
  - 5.5
  - 5.4
 
-install:
-  - composer require --prefer-dist --dev 'codeception/codeception \*' 'codeception/specify \*'
-
 before_script:
   - php vendor/bin/codecept build
 
 script:
-  - php vendor/bin/codecept run
+  - php vendor/bin/codecept run functional

+ 3 - 1
composer.json

@@ -22,7 +22,9 @@
 	"require-dev": {
 		"yiisoft/yii2-codeception": "*",
 		"yiisoft/yii2-debug": "*",
-		"yiisoft/yii2-gii": "*"
+		"yiisoft/yii2-gii": "*",
+		"codeception/codeception": "*",
+		"codeception/specify": "*"
 	},
 	"scripts": {
 		"post-create-project-cmd": [