summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-10-07 10:44:03 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-10 11:09:01 -0400
commit245a743d10fb9e22649c1ef2320cbe1aaac2c63d (patch)
tree9ffa4498f48da804bf30f108b3c417bf1d2039c1 /.gitlab-ci.yml
parent735b2e5cb05fab8a119a68e1d0849b0d0b409f0e (diff)
[tests] add build stage
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml25
1 files changed, 23 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3d6fff19..1393ce18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,24 @@
-image: leapcode/soledad:latest
+# Todo: move test stage to the top once it succeeds again
+stages:
+ - build
+ - test
+
test:
- script: tox --recreate -e py27-dev
+ image: leapcode/soledad:latest
+ stage: test
+ script:
+ - tox --recreate -e py27-dev
+
+build:
+ image: leapcode/bitmask-dev:latest
+ stage: build
+ script:
+ - virtualenv venv
+ - source venv/bin/activate
+ - make dev-backend
+ - make dev-all
+ - cd ui
+ - make dev-install
+ - mkdir -p /root/.config/leap/
+ - bitmaskd
+ - bitmaskctl status