.gitlab-ci.yml 561 Bytes
Newer Older
1
image: ubuntu:21.04
Benjy Marks's avatar
Benjy Marks committed
2
3
4
5

test:
  stage: test
  script:
6
  - apt-get install build_essential gcc cmake python3-pip python3 python3-dev
Benjy Marks's avatar
Benjy Marks committed
7
  - pip install -U -r requirements.txt
8
  - python setup.py install
Benjy Marks's avatar
Benjy Marks committed
9
  - sphinx-build -b html docs/source public
Benjy Marks's avatar
Benjy Marks committed
10
11
12
13
14
15
16
17
  only:
  - branches
  except:
  - master

pages:
  stage: deploy
  script:
18
  - apt-get install build_essential gcc cmake python3-pip python3 python3-dev
Benjy Marks's avatar
Benjy Marks committed
19
  - pip install -U -r requirements.txt
20
  - python setup.py install
Benjy Marks's avatar
Benjy Marks committed
21
  - sphinx-build -b html docs/source public
Benjy Marks's avatar
Benjy Marks committed
22
23
24
25
26
  artifacts:
    paths:
    - public
  only:
  - master