summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 665f4147a0143d115ad6d330ca77df0ab5a6b5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
stages:
  - test
  - build
  - bundle

test:
  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
    - mkdir -p /root/.config/leap/
    - bitmaskd
    - bitmaskctl status

bundle:
  image: leapcode/bitmask-dev:latest
  stage: bundle 
  script: pkg/build_bundle_with_venv.sh
  artifacts:
    paths:
      - dist/bitmask-*
    name: "bitmask_linux64_latest_${CI_BUILD_REF}"