Issue in CI script: using pip to install NiftyNet
@@ -98,8 +98,12 @@ pip-installer:
# create a virtual env to test pip installer
- venv="niftynet-pip-installer-venv"
- virtualenv $venv
+ # save NiftyNet folder path just in case
+ - niftynet_dir=$(pwd)
- cd $venv
- source bin/activate
+ # install using setup.py in NiftyNet folder
+ - pip install $niftynet_dir
# using already downloaded data instead of downloading it every time
- ln -s /home/gitlab-runner/environments/niftynet/data/example_volumes ./example_volumes
- ln -s /home/gitlab-runner/environments/niftynet/data/testing_data ./testing_data
