Skip to content
Snippets Groups Projects
Commit d6b83e2d authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

update CI to use igwn/base:buster

also:
* add h5 output tests
* use debian sphinx packages instead of pip
parent 72b649b1
No related branches found
No related tags found
No related merge requests found
image: ligo/software:stretch
image: igwn/base:buster
stages:
- test
......@@ -9,16 +9,19 @@ test:
before_script:
- echo $CI_COMMIT_SHA | cut -b1-8 > gitID.txt
script:
- rm -rf ifo gwinc_test_report.pdf
- mkdir ifo
- apt-get update -qq
- apt-get install -y -qq python3-yaml python3-scipy python3-matplotlib python3-ipython lalsimulation-python3 python3-pypdf2
- apt-get install -y -qq git python3-yaml python3-scipy python3-matplotlib python3-ipython lalsimulation-python3 python3-pypdf2 python3-h5py
- git clone https://gitlab-ci-token:ci_token@git.ligo.org/gwinc/inspiral_range.git
- export PYTHONPATH=inspiral_range
- export MPLBACKEND=agg
- python3 -m gwinc.test -r gwinc_test_report.pdf
- for ifo in aLIGO Aplus Voyager CE1 CE2; do
- python3 -m gwinc $ifo -s $ifo.png
- python3 -m gwinc $ifo -s ifo/$ifo.png
- python3 -m gwinc $ifo -s ifo/$ifo.h5
- done
- python3 -m gwinc.ifo -s all_compare.png
- python3 -m gwinc.test -r gwinc_test_report.pdf
- python3 -m gwinc.ifo -s ifo/all_compare.png
after_script:
- rm gitID.txt
cache:
......@@ -28,12 +31,7 @@ test:
when: always
expire_in: 4w
paths:
- aLIGO.png
- Aplus.png
- Voyager.png
- CE1.png
- CE2.png
- all_compare.png
- ifo
- gwinc_test_report.pdf
pages:
......@@ -41,14 +39,9 @@ pages:
dependencies:
- test
script:
- mkdir public
- for ifo in aLIGO Aplus Voyager CE1 CE2; do
- mv $ifo.png public/
- done
- mv all_compare.png public/ || true
- mv gwinc_test_report.pdf public/ || true
- apt-get install -y -qq python3-pip python3-dev make
- pip3 install sphinx sphinx-rtd-theme
- rm -rf public
- mv ifo public
- apt-get install -y -qq python3-sphinx-rtd-theme
- cd docs
- make html
- cd ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment