Commit 9096e0a9 authored by Maximilian Schanner's avatar Maximilian Schanner
Browse files

Get sphinx from pip

parent 3ed17c29
......@@ -9,6 +9,7 @@ stages:
- test
- deploy
build-job:
stage: build
script:
......@@ -41,6 +42,13 @@ test-conda:
- pip uninstall -y pymagglobal
- pip install pymagglobal[tests] --extra-index-url https://public:5mz_iyigu-WE3HySBH1J@gitext.gfz-potsdam.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi/simple
- python3 tests/run_tests.py
only:
changes:
- pymagglobal/*.py
- pymagglobal/dat/*
- setup.py
- tests/*
test-job:
stage: test
......@@ -60,13 +68,14 @@ test-job:
- ./docs/pic_cfe.png
- ./docs/pic_cfs.png
pages:
stage: deploy
script:
- apt-get update -y -qq
- apt-get install -y -qq python3-dev python3-pip python3-cartopy
- pip install pymagglobal --extra-index-url https://public:5mz_iyigu-WE3HySBH1J@gitext.gfz-potsdam.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi/simple
- apt-get install -y -qq python3 sphinx python3-sphinx-argparse
- pip install sphinx sphinx-argparse
- sphinx-build -b html docs public
artifacts:
paths:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment