summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-12 03:20:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 03:20:07 +0300
commit7008ad9cb7c1334ab43dc85b57b9f2b560b1dd19 (patch)
treec98bd58fdd3a1417695032a0269fbf4e1632a41b /.gitlab-ci.yml
parent460822ea6cef840e0f478918547a806b231c3dc6 (diff)
downloadevol-tools-7008ad9cb7c1334ab43dc85b57b9f2b560b1dd19.tar.gz
evol-tools-7008ad9cb7c1334ab43dc85b57b9f2b560b1dd19.tar.bz2
evol-tools-7008ad9cb7c1334ab43dc85b57b9f2b560b1dd19.tar.xz
evol-tools-7008ad9cb7c1334ab43dc85b57b9f2b560b1dd19.zip
Add basic ci script with pyflakes.s20160912
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..8e9f634
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,32 @@
+stages:
+ - test
+ - success
+ - failure
+
+pyflakes2:
+ stage: test
+ script:
+ - ./ci/install.sh python2.7 pyflakes
+ - pyflakes .
+ image: debian:unstable
+
+.pyflakes3:
+ stage: test
+ script:
+ - ./ci/install.sh python3 pyflakes3
+ - pyflakes3 .
+ image: debian:unstable
+
+success:
+ stage: success
+ script:
+ - echo "do nothing"
+ image: debian:stable
+ when: on_success
+
+failure:
+ stage: failure
+ script:
+ - echo "do nothing"
+ image: debian:stable
+ when: on_failure