From 8b30091d69855546eef24b0ec379a4bd4dd7270d Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Wed, 9 Oct 2019 19:29:03 +0100 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2222c862..2db3d041 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -531,10 +531,6 @@ pip-camera-ready: script: # Copy wheel created in previous stage to a specific location on GIFT-Adelie - export niftynet_dir=$(pwd) - # install TF - - pip install tensorflow-gpu==1.13.2 - - pip install -r requirements-gpu.txt - # create the NiftyNet wheel - rm -rf dist # remove dist directory, just in case - sh ci/bundlewheel.sh @@ -550,6 +546,9 @@ pip-camera-ready: - export check_version_venv=check_version_venv - virtualenv $check_version_venv - source $check_version_venv/bin/activate + # install TF + - pip install tensorflow-gpu==1.13.2 + - pip install -r requirements-gpu.txt - pip install $niftynet_wheel - net_segment --version 2>&1 | grep -E 'NiftyNet.*version.*[0-9]+\.[0-9]+\.[0-9]+' | grep -v + - python -c 'import niftynet; print(niftynet.__version__)' | grep -E 'NiftyNet.*version.*[0-9]+\.[0-9]+\.[0-9]+' | grep -v +