dragon-bot/.gitlab-ci.yml
2017-08-17 16:23:37 -07:00

32 lines
450 B
YAML

image: python:3.6.2-alpine3.6
before_script:
- pip install pylint
stages:
- test
- build
- deploy
linting_python:
stage: test
script:
- pylint app/*.py
only:
- /.*/
tags:
- docker
building_docker_container:
stage: build
script:
- docker build -t ldooks/dragon-bot:latest .
only:
- master
pushing_docker_container:
stage: deploy
script:
- docker push ldooks/dragon-bot:latest
only:
- master