-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitlab-ci.yml
34 lines (34 loc) · 1002 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
pages:
image: python:3.7
script:
# Install apt-get packages
- apt-get update -q -y
- apt-get install -y python-pip
- apt-get install -y pandoc
# Install HDF5
#- wget https://s3.amazonaws.com/hdf-wordpress-1/wp-content/uploads/manual/HDF5/HDF5_1_10_5/source/hdf5-1.10.5.tar
#- tar -xvf hdf5-1.10.5.tar
#- rm -rf hdf5-1.10.5.tar
#- cd hdf5-1.10.5
#- ./configure
#- make install
# Install pip packages
- pip install -U sphinx sphinx-material recommonmark numpydoc nbsphinx sphinx_markdown_tables sphinx_copybutton ipython
- pip install -U h5py hdf5storage scipy matplotlib numpy pillow pyyaml scipy torch torchvision
# Export paths
- export PATH=$PATH:$PWD/bin
- export PYTHONPATH=$PYTHONPATH:$PWD
# Build documentation
- git submodule update --init -- docs
- cd docs
- make html
- cd ../
# Move documentation to public folder
- mkdir .public
- cp -r docs/_build/* .public
- mv .public public
artifacts:
paths:
- public
only:
- master