FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 5e7526eb authored by Mark Driver's avatar Mark Driver
Browse files

update CI.

parent ed6cfc7d
No related branches found
No related tags found
No related merge requests found
Pipeline #124078 failed
......@@ -15,37 +15,31 @@ before_script:
- apt-get -y install -f openjdk-11-jre-headless texlive-latex-extra dvipng
- conda env create -f environment.yml
- source activate resultsanalysis
- conda install -c conda-forge phasexmlparser
- ls
- cd ../
- if [[ ! -d 'xmlvalidator' ]]; then git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/utils/xmlvalidator.git; fi
- cd xmlvalidator
- pip install .
- cd ../
- if [[ ! -d 'resultsanalysis' ]]; then git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/utils/resultsanalysis.git; fi
- cd resultsanalysis
- pip install .
- cd ../
- if [[ -d 'phasexmlparser' ]]; then rm -r phasexmlparser; fi
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/utils/phasexmlparser.git
- cd phasexmlparser
- pip install .
- cd ../
- if [[ -d 'phasexmlcreator' ]]; then rm -r phasexmlcreator; fi
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/phasexmlcreator.git
- git clone git@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/phasexmlcreator.git
- cd phasexmlcreator
- pip install .
- cd ../
- if [[ ! -d 'puresolventinformation' ]]; then git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/puresolventinformation.git; fi
- if [[ -d 'puresolventinformation' ]]; then rm -r puresolventinformation; fi
- git clone git@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/puresolventinformation.git
- cd puresolventinformation
- pip install .
- cd ../
- if [[ -d 'solventmapcreator' ]]; then rm -r solventmapcreator; fi
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/solventmapcreator.git
- git clone git@gitlab.developers.cam.ac.uk:ch/hunter/ssiptools/ssimpleapps/solventmapcreator.git
- cd solventmapcreator
- pip install .
- pip install . --no-deps
- cd ../phasecalculator
- pip install . --no-deps
unittest:
script:
- pytest phasecalculator/test/*test/*test.py
- pytest --pyargs phasecalculator
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