Forked from
gwinc / pygwinc
612 commits behind the upstream repository.
-
Jameson Graef Rollins authored
Error is: jobs:test:cache:key config cannot contain the "/" character
Jameson Graef Rollins authoredError is: jobs:test:cache:key config cannot contain the "/" character
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 805 B
image: ligo/software:stretch
stages:
- test
- deploy
test:
stage: test
before_script:
- 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
- export MPLBACKEND=agg
- python -m gwinc.test
- python -m gwinc gwinc/ifo/aLIGO.yaml -s aLIGO.png
- python -m gwinc gwinc/ifo/Voyager.yaml -s Voyager.png
after_script:
- rm gitID.txt
cache:
key: "$CI_PROJECT_NAMESPACE:$CI_PROJECT_NAME:$CI_JOB_NAME"
untracked: true
artifacts:
expire_in: 4w
paths:
- aLIGO.png
- Voyager.png
pages:
stage: deploy
dependencies:
- test
script:
- mkdir public
- mv aLIGO.png public/
- mv Voyager.png public/
artifacts:
paths:
- public
expire_in: 4w