parent
f7116a0339
commit
7579336af6
14
.travis.yml
Normal file
14
.travis.yml
Normal file
@ -0,0 +1,14 @@
|
||||
language: php
|
||||
|
||||
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
|
@ -6,8 +6,7 @@ After creating the basic application, follow these steps to prepare for the test
|
||||
1. To install `Codeception` and its dependencies through composer, run the following commands:
|
||||
|
||||
```
|
||||
php composer.phar require --dev "codeception/codeception": "*"
|
||||
php composer.phar require --dev "codeception/specify": "*"
|
||||
php composer.phar require --dev "codeception/codeception *" "codeception/specify *"
|
||||
```
|
||||
|
||||
2. In the file `_bootstrap.php`, modify the definition of the constant `TEST_ENTRY_URL` so
|
||||
|
@ -14,4 +14,6 @@ modules:
|
||||
- Yii2
|
||||
config:
|
||||
Yii2:
|
||||
url: 'http://localhost'
|
||||
entryScript: 'index-test.php'
|
||||
configFile: 'tests/functional/_config.php'
|
||||
|
Loading…
Reference in New Issue
Block a user