Skip to content
Snippets Groups Projects
Commit 474d61e9 authored by leszeks's avatar leszeks
Browse files

CI addition

parent 30fd750f
Branches
No related tags found
1 merge request!4Polem2rancher
Pipeline #581 failed
image: clarinpl/python:3.6
cache:
paths:
- .tox
stages:
- check_style
- build
before_script:
- pip install tox==2.9.1
pep8:
stage: check_style
script:
- tox -v -e pep8
docstyle:
stage: check_style
script:
- tox -v -e docstyle
build_image:
stage: build
image: docker:18.09.7
only:
- master
services:
- docker:18.09.7-dind
before_script:
- ''
script:
- docker build -t clarinpl/polem .
- echo $DOCKER_PASSWORD > pass.txt
- cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
- rm pass.txt
- docker push clarinpl/polem
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment