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
2df4dff4
Commit
2df4dff4
authored
Aug 17, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proper exit codes for codeception tests
parent
ef9d37d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
.travis.yml
.travis.yml
+7
-4
No files found.
.travis.yml
View file @
2df4dff4
...
@@ -58,16 +58,19 @@ script:
...
@@ -58,16 +58,19 @@ script:
else
else
cd apps/basic/web
cd apps/basic/web
php -S localhost:8080 > /dev/null 2>&1 &
php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
PHP
_
PID=$!
cd ../tests
cd ../tests
codecept run
codecept run
kill -9 $PHPPID
BASIC_EXIT=$?
kill -9 $PHP_PID
cd ../../advanced
cd ../../advanced
php -S localhost:8080 > /dev/null 2>&1 &
php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
PHP
_
PID=$!
cd tests
cd tests
codecept run
codecept run
kill -9 $PHPPID
ADVANCED_EXIT=$?
kill -9 $PHP_PID
exit $BASIC_EXIT && $ADVANCED_EXIT
fi
fi
after_script
:
after_script
:
...
...
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