source:
ammosreader/.gitlab-ci.yml@
eab48d0
Last change on this file since eab48d0 was eab48d0, checked in by , 3 years ago | |
---|---|
|
|
File size: 638 bytes |
Rev | Line | |
---|---|---|
[8073839] | 1 | image: python:latest |
[a81ab76] | 2 | |
3 | workflow: | |
4 | rules: | |
5 | - if: $CI_COMMIT_BRANCH | |
6 | ||
[3c396a4] | 7 | pages: |
8 | stage: deploy | |
9 | script: | |
[050ace0] | 10 | - python3 --version |
[d954282] | 11 | - pip install --upgrade sphinx numpy sphinx_adc_theme |
[eab48d0] | 12 | - pip install git+http://enno:xrge6-j2NkpRwsi9BXQn@gitlab.kid.local/kidzg/ammosreader.git |
[3c396a4] | 13 | - sphinx-build -b html doc/rst/ public |
14 | artifacts: | |
15 | paths: | |
16 | - public | |
[ca6263a] | 17 | rules: |
18 | - if: $CI_COMMIT_BRANCH == "guix" | |
19 | ||
[3c396a4] | 20 | pytest: |
21 | stage: test | |
22 | script: | |
23 | - cd tests | |
[ab26682] | 24 | - pip install -U pytest |
[3c396a4] | 25 | - pytest --junitxml=report.xml |
26 | artifacts: | |
27 | when: always | |
28 | reports: | |
[bca0f7e] | 29 | junit: tests/report.xml |
[a81ab76] | 30 | rules: |
31 | - if: $CI_COMMIT_BRANCH == "guix" |
Note:
See TracBrowser
for help on using the repository browser.