summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-16 15:48:47 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-16 15:48:47 -0300
commit467fc51d8886b4973bf572ba58b05f20f3f14c85 (patch)
tree36ef081b0bdd6f81ddd0f09a6f23a2bff640a13b /.gitlab-ci.yml
parent393760061ad10d2d0a13d04094a40741de3fbb58 (diff)
downloadserver-467fc51d8886b4973bf572ba58b05f20f3f14c85.tar.gz
server-467fc51d8886b4973bf572ba58b05f20f3f14c85.tar.bz2
server-467fc51d8886b4973bf572ba58b05f20f3f14c85.tar.xz
server-467fc51d8886b4973bf572ba58b05f20f3f14c85.zip
Add pipelines
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..a267baa
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,36 @@
+stages:
+ - test
+
+.pyflakes2:
+ stage: test
+ script:
+ - apt-get update
+ - apt-get -y -qq install python2.7 pyflakes
+ - pyflakes .
+ image: debian:buster
+
+pyflakes3:
+ stage: test
+ script:
+ - apt-get update
+ - apt-get -y -qq install python3 pyflakes3
+ - pyflakes3 .
+ image: debian:buster
+
+.install:
+ stage: test
+ script:
+ - apt-get update
+ - apt-get -y -qq install python2.7 mariadb-server mariadb-client
+ - make initdb
+ - ./server.py ci
+ image: debian:unstable
+
+.skipci:
+ stage: test
+ script:
+ - echo "do nothing"
+ image: debian:stable
+ variables:
+ GIT_STRATEGY: none
+