summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: d93af13de99075d2671d4218edeb41cb77ec2d8c (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
31
32
stages:
  - code-check
  - tests
  - benchmark

# Cache tox envs between builds
cache:
  paths:
  - testing/.tox/

code-check:
  stage: code-check
  script:
    - cd testing
    - tox -e code-check

tests:
  stage: tests
  image: leapcode/soledad:latest
  services:
    - couchdb
  script:
    - cd testing
    - tox -- --couch-url http://couchdb:5984

benchmark:
  stage: benchmark
  script:
    - cd testing
    - tox -e benchmark
  tags:
    - benchmark