Add PHP output to artifact

Do not clutter stdout in web ui. Instead move PHP output to a file and
add this one to artifacts.
This commit is contained in:
Daniel Siepmann 2019-09-10 11:39:16 +02:00
parent 221f9bc4f0
commit 177c654106
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -36,7 +36,7 @@ test:acceptance:
- export LOCAL_IP=$(ip a | grep inet | sed -n 2p | xargs | cut -d" " -f2 | cut -d"/" -f1)
- export TESTING_DOMAIN="$LOCAL_IP:8080"
- export TYPO3_CONTEXT=Testing/Acceptance
- php -S "$TESTING_DOMAIN" -t web &
- php -S "$TESTING_DOMAIN" -t web &> php.log.txt &
script:
- ./vendor/bin/codecept run --env=gitlab-ci
artifacts:
@ -44,3 +44,4 @@ test:acceptance:
expire_in: 10 mins
paths:
- tests/_output/
- php.log.txt