Skip to content

Commit

Permalink
Split command for easier debug
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Aug 17, 2014
1 parent ac9b479 commit ef9d37d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,17 @@ script:
if (php --version | grep -i HipHop > /dev/null); then
echo "skipping application tests on HHVM"
else
cd apps/basic/web && php -S localhost:8080 > /dev/null 2>&1 &
cd apps/basic/web
php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
cd ../tests && codecept run
cd ../tests
codecept run
kill -9 $PHPPID
cd ../../advanced && php -S localhost:8080 > /dev/null 2>&1 &
cd ../../advanced
php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
cd tests && codecept run
cd tests
codecept run
kill -9 $PHPPID
fi
Expand Down

0 comments on commit ef9d37d

Please sign in to comment.