summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 18522cdb3378eab59c27928013920ed8952d1bff (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
33
34
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
  tags:
    - couchdb

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