booplaysgba/.gitlab-ci.yml

21 lines
352 B
YAML
Raw Normal View History

2021-11-01 13:29:07 +00:00
stages:
- lint
- build
2021-11-01 13:29:07 +00:00
2021-11-02 20:39:50 +00:00
pre-commit:
2021-11-01 13:54:22 +00:00
stage: lint
2021-11-02 20:39:50 +00:00
image: python:latest
before_script:
- pip install pre-commit
2021-11-02 20:39:50 +00:00
- pre-commit install
2021-11-01 13:54:22 +00:00
script:
2021-11-02 20:39:50 +00:00
- pre-commit run --all-files
docker-compose:
stage: build
script:
- docker build --tag server -f Dockerfile .
- docker build --tag emulator -f Dockerfile .
only:
- master