Browse Source
Reduce the output on github CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/41139/head
Joas Schilling
2 years ago
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
2 changed files with
9 additions and
1 deletions
-
.gitignore
-
build/integration/run.sh
|
|
|
@ -129,6 +129,8 @@ nbproject |
|
|
|
/build/bin |
|
|
|
/build/lib/ |
|
|
|
/build/jsdocs/ |
|
|
|
/build/integration/output/ |
|
|
|
/build/integration/phpserver.log |
|
|
|
/npm-debug.log |
|
|
|
/PhantomJS_* |
|
|
|
|
|
|
|
|
|
|
|
@ -34,10 +34,16 @@ if [ -z "$EXECUTOR_NUMBER" ]; then |
|
|
|
fi |
|
|
|
PORT=$((8080 + $EXECUTOR_NUMBER)) |
|
|
|
echo $PORT |
|
|
|
php -S localhost:$PORT -t ../.. & |
|
|
|
|
|
|
|
echo "" > phpserver.log |
|
|
|
|
|
|
|
php -S localhost:$PORT -t ../.. &> phpserver.log & |
|
|
|
PHPPID=$! |
|
|
|
echo $PHPPID |
|
|
|
|
|
|
|
# Output filtered php server logs |
|
|
|
tail -f phpserver.log | grep --line-buffered -v -E ":[0-9]+ Accepted$" | grep --line-buffered -v -E ":[0-9]+ Closing$" & |
|
|
|
|
|
|
|
# The federated server is started and stopped by the tests themselves |
|
|
|
PORT_FED=$((8180 + $EXECUTOR_NUMBER)) |
|
|
|
echo $PORT_FED |
|
|
|
|