image: geomdata/gda-public-builder

stages:
 - build
 - test
 - deploy


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
