Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
3913d64d
Commit
3913d64d
authored
Aug 16, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix travis
parent
c0a83142
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
.travis.yml
.travis.yml
+5
-0
setup-apps.sh
tests/unit/data/travis/setup-apps.sh
+4
-6
No files found.
.travis.yml
View file @
3913d64d
...
...
@@ -27,12 +27,17 @@ addons:
install
:
-
composer self-update && composer --version
-
export PATH="$HOME/.composer/vendor/bin:$PATH"
# core framework:
-
composer install --prefer-dist
-
tests/unit/data/travis/mongodb-setup.sh
-
tests/unit/data/travis/apc-setup.sh
-
tests/unit/data/travis/memcache-setup.sh
-
tests/unit/data/travis/cubrid-setup.sh
# codeception
-
composer global require "codeception/codeception=2.0.*"
-
composer global require "codeception/specify=*"
-
composer global require "codeception/verify=*"
# basic and advanced application:
-
tests/unit/data/travis/setup-apps.sh
...
...
tests/unit/data/travis/setup-apps.sh
View file @
3913d64d
...
...
@@ -7,22 +7,20 @@ else
# basic application:
composer
install
--dev
--prefer-dist
-d
apps/basic
cd
apps/basic
&&
composer require
--dev
codeception/codeception:2.0.
*
codeception/specify:
*
codeception/verify:
*
sed
-i
"s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/"
config/web.php
cd
tests
&&
php vendor/bin/
codecept build
&&
cd
../../..
cd
tests
&&
codecept build
&&
cd
../../..
# advanced application:
composer
install
--dev
--prefer-dist
-d
apps/advanced
cd
apps/advanced
&&
composer require
--dev
codeception/codeception:2.0.
*
codeception/specify:
*
codeception/verify:
*
./init
--env
=
Development
sed
-i
s/root/travis/ common/config/main-local.php
sed
-i
"s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/"
frontend/config/main.php
sed
-i
"s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/"
backend/config/main.php
cd
tests/codeception/backend
&&
php ../../../vendor/bin/
codecept build
cd
../../../common
&&
php ../../../vendor/bin/
codecept build
cd
../../../frontend
&&
php ../../../vendor/bin/
codecept build
&&
cd
../../../../../..
cd
tests/codeception/backend
&&
codecept build
cd
../../../common
&&
codecept build
cd
../../../frontend
&&
codecept build
&&
cd
../../../../../..
# boot server
cd
apps
&&
php
-S
localhost:8080
>
/dev/null 2>&1 &
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment