circleci: allow more time and capture the log

This commit is contained in:
Geoff Bourne 2018-08-19 11:22:43 -05:00
parent a5614ec03b
commit bab31f1198

View file

@ -9,9 +9,11 @@ jobs:
- run: docker build -t mc:$CIRCLE_BUILD_NUM minecraft-server
- run:
name: Test default version and type
no_output_timeout: "10s"
no_output_timeout: "30s"
command: |
docker run -t --rm -e EULA=TRUE mc:$CIRCLE_BUILD_NUM | grep "[Server thread/INFO]: Done"
docker run -t --rm -e EULA=TRUE mc:$CIRCLE_BUILD_NUM | tee /tmp/docker-run.log | grep "[Server thread/INFO]: Done"
- store_artifacts:
path: /tmp/docker-run.log
workflows:
version: 2