.gitlab-ci.yml 783 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 libeigen3-dev
8
9
  - pip3 install -U -r requirements.txt
  - python3 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 libeigen3-dev
21
22
  - pip3 install -U -r requirements.txt
  - python3 setup.py install
23
  - sphinx-build -b html docs/source public
Benjy Marks's avatar
Benjy Marks committed
24
  # - conda build .
Benjy Marks's avatar
Benjy Marks committed
25
  # - tar --exclude='.[^/]*' -czvf public/radioSphere.tar.gz .
26

Benjy Marks's avatar
Benjy Marks committed
27
28
29
30
31
  artifacts:
    paths:
    - public
  only:
  - master