Issue Revert "disable git archive test"
This reverts commit
@@ -80,17 +80,16 @@ testjob:
# Git-clone:
- python net_segment.py --version 2>&1 | grep -E 'NiftyNet.*version.*[0-9]+\.[0-9]+\.[0-9]+'
- python -c 'import niftynet; print(niftynet.__version__)' | grep -E 'NiftyNet.*version.*[0-9]+\.[0-9]+\.[0-9]+'
-
# downloaded ZIP ball:
- #- export check_version_zip=/tmp/check_version_zip-$(git rev-parse --short HEAD)
- #- mkdir $check_version_zip
- #- git archive --format=tar HEAD | (cd $check_version_zip && tar xf -)
- #- cd $check_version_zip
- #- python net_segment.py --version 2>&1 | grep -E 'NiftyNet.*version.*[0-9]+\.[0-9]+\.[0-9]+'
- #- python -c 'import niftynet; print(niftynet.__version__)' | grep -E 'NiftyNet.*version.*[0-9]+\.[0-9]+\.[0-9]+'
- #- cd $niftynet_dir
- #- rm -rf $check_version_zip
- #- unset check_version_zip
+ - export check_version_zip=/tmp/check_version_zip-$(git rev-parse --short HEAD)
+ - mkdir $check_version_zip
+ - git archive --format=tar HEAD | (cd $check_version_zip && tar xf -)
+ - cd $check_version_zip
+ - python net_segment.py --version 2>&1 | grep -E 'NiftyNet.*version.*[0-9]+\.[0-9]+\.[0-9]+'
+ - python -c 'import niftynet; print(niftynet.__version__)' | grep -E 'NiftyNet.*version.*[0-9]+\.[0-9]+\.[0-9]+'
+ - cd $niftynet_dir
+ - rm -rf $check_version_zip
+ - unset check_version_zip
# tests
- python net_download.py testing -r
