From b054d122336869fe1ca2dbee4623e50267c00e22 Mon Sep 17 00:00:00 2001
From: Tomasz Walkowiak <tomasz.walkowiak@pwr.edu.pl>
Date: Sat, 11 Jul 2020 09:30:42 +0000
Subject: [PATCH] Add new file

---
 .gitlab-ci.yml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..a385e7f
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,37 @@
+image: clarinpl/python:3.6
+
+cache:
+  paths:
+    - .tox
+
+stages:
+  - 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/featfilt .
+    - echo $DOCKER_PASSWORD > pass.txt
+    - cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
+    - rm pass.txt
+    - docker push clarinpl/featfilt
-- 
GitLab