dragon-bot/.gitlab-ci.yml
2017-08-17 16:22:02 -07:00

34 lines
475 B
YAML

image: python:3.6.2-alpine3.6
services:
- dragon-bot
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