circleci: allow more time and capture the log

This commit is contained in:
Geoff Bourne committed 2018-08-19 11:22:43 -05:00
1 parent a5614ec03b
commit bab31f1198
1 file changed
+4 -2
+4 -2
View File
@@ -9,9 +9,11 @@ jobs:
- run: docker build -t mc:$CIRCLE_BUILD_NUM minecraft-server - run: docker build -t mc:$CIRCLE_BUILD_NUM minecraft-server
- run: - run:
name: Test default version and type name: Test default version and type
no_output_timeout: "10s" no_output_timeout: "30s"
command: | 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: workflows:
version: 2 version: 2