.gitlab-ci.yml 572 Bytes
Newer Older
1
image: goblinogm/goblin-buildchain
2

3

4
5
6
7
8
cache:
  paths:
  - vendor

test:
9
10
11
12
  services:
    - name: goblinogm/gremlin-server-python:latest
      alias: gremlin-server
  image: goblinogm/goblin-buildchain
13
  script:
14
  - pip install -U -r requirements.txt
15
  - coverage run --source=aiogremlin/ setup.py test
16
17
18
  - python -m unittest discover
  - coverage report -m
  coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
19
20
pages:
  script:
21
22
  - pip install -U -r requirements.txt
  - cd docs
23
  - make html
24
25
  - cd ..
  - mv docs/_build/html public
26
27
28
29
30
  artifacts:
    paths:
    - public
  only:
  - master