Commit 7a542763 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins

CI: add more tests

and move to python3
parent ad76edd1
......@@ -10,11 +10,13 @@ test:
- echo $CI_COMMIT_SHA | cut -b1-8 > gitID.txt
script:
- apt-get update -qq
- apt-get install -y -qq python-yaml python-scipy python-matplotlib python-ipython
- apt-get install -y -qq python3-yaml python3-scipy python3-matplotlib python3-ipython
- export MPLBACKEND=agg
#- python -m gwinc.test aLIGO
- python -m gwinc gwinc/ifo/aLIGO.yaml -s aLIGO.png
- python -m gwinc gwinc/ifo/Voyager.yaml -s Voyager.png
- python3 -m gwinc aLIGO -s aLIGO.png
- python3 -m gwinc A+ -s A+.png
- python3 -m gwinc Voyager -s Voyager.png
- python3 -m gwinc.test aLIGO -p -s aLIGO_test.png || true
- python3 -m gwinc.test A+ -p -s A+_test.png || true
after_script:
- rm gitID.txt
cache:
......@@ -24,7 +26,10 @@ test:
expire_in: 4w
paths:
- aLIGO.png
- A+.png
- Voyager.png
- aLIGO_test.png
- A+_test.png
pages:
stage: deploy
......@@ -33,7 +38,10 @@ pages:
script:
- mkdir public
- mv aLIGO.png public/
- mv A+.png public/
- mv Voyager.png public/
- mv aLIGO_test.png public/ || true
- mv A+_test.png public/ || true
artifacts:
paths:
- public
......
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