Skip to content

Commit

Permalink
Got rid of variables, forced terminating PHP process by name before s…
Browse files Browse the repository at this point in the history
…tarting another server
  • Loading branch information
samdark committed Aug 18, 2014
1 parent e4e04c9 commit 34bc236
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,16 @@ script:
else
cd apps/basic/web
php -S localhost:8080 > /dev/null 2>&1 &
PHP_PID=$!
cd ../tests
codecept run
fi
- |
if (php --version | grep -i HipHop > /dev/null); then
echo "Skipping advanced application tests on HHVM"
else
kill -9 $PHP_PID
kill $(ps -ef | grep php | awk '{print $2}')
cd ../../advanced
php -S localhost:8080 > /dev/null 2>&1 &
PHP_PID=$!
cd tests
codecept run
fi
Expand Down

0 comments on commit 34bc236

Please sign in to comment.