mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-15 14:52:27 +00:00
22 lines
589 B
YAML
22 lines
589 B
YAML
version: 2
|
|
jobs:
|
|
minecraft_server:
|
|
docker:
|
|
- image: circleci/buildpack-deps:18.10
|
|
steps:
|
|
- checkout
|
|
- setup_remote_docker
|
|
- run: docker build -t mc:$CIRCLE_BUILD_NUM minecraft-server
|
|
- run:
|
|
name: Test default version and type
|
|
no_output_timeout: "60s"
|
|
command: |
|
|
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
|
|
build:
|
|
jobs:
|
|
- minecraft_server
|