booplaysgba/.gitlab-ci.yml

21 lines
352 B
YAML

stages:
- lint
- build
pre-commit:
stage: lint
image: python:latest
before_script:
- pip install pre-commit
- pre-commit install
script:
- pre-commit run --all-files
docker-compose:
stage: build
script:
- docker build --tag server -f Dockerfile .
- docker build --tag emulator -f Dockerfile .
only:
- master