mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
23 lines
589 B
YAML
23 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: "30s"
|
|
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
|