Skip to content

Commit

Permalink
added .travis.yml to basic app
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Jan 3, 2014
1 parent 6291d0c commit 0d263a1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
14 changes: 14 additions & 0 deletions apps/basic/.travis.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions apps/basic/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions apps/basic/tests/functional.suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ modules:
- Yii2
config:
Yii2:
url: 'http:https://localhost'
entryScript: 'index-test.php'
configFile: 'tests/functional/_config.php'
4 changes: 2 additions & 2 deletions framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ The preferred way to install this extension is through [composer](http:https://getcomp
Either run

```
php composer.phar require yiisoft/yii2-framework "*"
php composer.phar require "yiisoft/yii2 *"
```

or add

```json
"yiisoft/yii2-framework": "*"
"yiisoft/yii2": "*"
```

to the require section of your composer.json.

0 comments on commit 0d263a1

Please sign in to comment.