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
57b29960
Commit
57b29960
authored
Aug 17, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use separate webservers for basic and advanced apps in travis
parent
ac32c33d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
.travis.yml
.travis.yml
+8
-2
setup-apps.sh
tests/unit/data/travis/setup-apps.sh
+0
-4
No files found.
.travis.yml
View file @
57b29960
...
@@ -56,8 +56,14 @@ script:
...
@@ -56,8 +56,14 @@ script:
if (php --version | grep -i HipHop > /dev/null); then
if (php --version | grep -i HipHop > /dev/null); then
echo "skipping application tests on HHVM"
echo "skipping application tests on HHVM"
else
else
cd apps/basic/tests && php ../vendor/bin/codecept run
cd apps/basic/web && php -S localhost:8080 > /dev/null 2>&1 &
cd ../../advanced/tests && ../vendor/bin/codecept run
PHPPID=$!
cd ../tests && codecept run
kill -9 $PHPPID
cd ../../advanced && php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
cd tests && codecept run
kill -9 $PHPPID
fi
fi
after_script
:
after_script
:
...
...
tests/unit/data/travis/setup-apps.sh
View file @
57b29960
...
@@ -23,8 +23,4 @@ else
...
@@ -23,8 +23,4 @@ else
cd
../console
&&
codecept build
cd
../console
&&
codecept build
cd
../frontend
&&
codecept build
cd
../frontend
&&
codecept build
cd
../../../
cd
../../../
# boot server
php
-S
localhost:8080
>
/dev/null 2>&1 &
fi
fi
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