.gitlab-ci.yml 667 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 update
7
  - DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential gcc cmake python3-pip python3 python3-dev
Benjy Marks's avatar
Benjy Marks committed
8
  - pip install -U -r requirements.txt
9
  - python setup.py install
Benjy Marks's avatar
Benjy Marks committed
10
  - sphinx-build -b html docs/source public
Benjy Marks's avatar
Benjy Marks committed
11
12
13
14
15
16
17
18
  only:
  - branches
  except:
  - master

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