.gitlab-ci.yml 611 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 codecov
15
  - pip install -U -r requirements.txt
16
  - coverage run --source=aiogremlin/ setup.py test
17
18
  - python -m unittest discover
  - coverage report -m
19
  - codecov
20
  coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
21
22
pages:
  script:
23
24
  - pip install -U -r requirements.txt
  - cd docs
25
  - make html
26
27
  - cd ..
  - mv docs/_build/html public
28
29
30
31
32
  artifacts:
    paths:
    - public
  only:
  - master