forked from geomdata/gda-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
37 lines (33 loc) · 848 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
image: geomdata/gda-public-builder
stages:
- build
- test
- deploy
python2_cythonize_pytest_sphinx:
stage: test
script:
- export PATH="$HOME/miniconda/bin:$PATH"
- git clone https://github.com/scipy/scipy-sphinx-theme
- cd doc_src
- ln -sf ../scipy-sphinx-theme/_theme ./
- cd -
- ls -lahrt doc_src/_theme/
- source activate gda_env2
- python setup.py build_ext --inplace
- py.test
- python setup.py build_doc_html -EW
- source deactivate
python3_cythonize_pytest_sphinx:
stage: test
script:
- export PATH="$HOME/miniconda/bin:$PATH"
- git clone https://github.com/scipy/scipy-sphinx-theme
- cd doc_src
- ln -sf ../scipy-sphinx-theme/_theme ./
- cd -
- ls -lahrt doc_src/_theme/
- source activate gda_env3
- python setup.py build_ext --inplace
- py.test
- python setup.py build_doc_html -EW
- source deactivate