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

# 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