summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 76d22b3c4dcde9ae48f98242496663473db4a617 (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
stages:
  - syntax
  - tests
  - benchmark

syntax:
  stage: syntax
  script:
    - cd testing
    - tox -e pep8

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

benchmark:
  stage: benchmark
  image: leapcode/soledad:1.0
  services:
    - couchdb
  script:
    - cd testing
    - tox -e perf -- --couch-url http://couchdb:5984
  tags:
    - docker
    - benchmark