forked from nasa/Plot3D_utilities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
37 lines (35 loc) · 812 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
stages:
- build
- deploy
job:
stage: build
image: python:3.9
script:
- sudo yum update -q -y
- sudo yum install -y python3-pip
- pip uninstall pandas numpy scipy -y -y -y
- pip install pandas numpy scipy
- pip install setuptools cython
- cd python
- python3 setup.py install
- cd ../
artifacts:
untracked: true
pages:
stage: deploy
script:
- mkdir .public
- cd python/docs
- make html
- cd ../../
- cp -r python/docs/_build/html/* .public
- mv .public public
artifacts:
paths:
- public
only:
- master
- plot3d
tags: [plot3d]