Commit 19571ee6 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

CI: Atlas data location can be customised with env var

parent f456f6bd
...@@ -28,7 +28,7 @@ if [ "$TEST_STYLE"x != "x" ]; then exit 0; fi ...@@ -28,7 +28,7 @@ if [ "$TEST_STYLE"x != "x" ]; then exit 0; fi
# tests, and need $FSLDIR to be defined # tests, and need $FSLDIR to be defined
export FSLDIR=/fsl/ export FSLDIR=/fsl/
mkdir -p $FSLDIR/data/ mkdir -p $FSLDIR/data/
rsync -rv "fsldownload:data/atlases/" "$FSLDIR/data/atlases/" rsync -rv "fsldownload:$FSL_ATLAS_DIR" "$FSLDIR/data/atlases/"
# Finally, run the damned tests. # Finally, run the damned tests.
TEST_OPTS="--cov-report= --cov-append" TEST_OPTS="--cov-report= --cov-append"
......
...@@ -72,6 +72,9 @@ stages: ...@@ -72,6 +72,9 @@ stages:
# - FSL_HOST: - Username@host to download FSL data from # - FSL_HOST: - Username@host to download FSL data from
# (e.g. "paulmc@jalapeno.fmrib.ox.ac.uk") # (e.g. "paulmc@jalapeno.fmrib.ox.ac.uk")
# #
# - FSL_ATLAS_DIR: - Location of the FSL atlas data on
# FSL_HOST.
#
# - TWINE_USERNAME: - Username to use when uploading to pypi # - TWINE_USERNAME: - Username to use when uploading to pypi
# #
# - TWINE_PASSWORD: - Password to use when uploading to pypi # - TWINE_PASSWORD: - Password to use when uploading to pypi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment