diff --git a/.ci/test_template.sh b/.ci/test_template.sh
index dd3e0022662614b764b5ac6331893f58c505c808..00bc034b1b76c8db636817e86f3f7820150a250c 100644
--- a/.ci/test_template.sh
+++ b/.ci/test_template.sh
@@ -28,7 +28,7 @@ if [ "$TEST_STYLE"x != "x" ]; then exit 0; fi
 # tests, and need $FSLDIR to be defined
 export FSLDIR=/fsl/
 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.
 TEST_OPTS="--cov-report= --cov-append"
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 792aee38e5d79796997101754ff0023b476f5aff..c07fcec57d0c65d3607255a8a5833642023b76f5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -72,6 +72,9 @@ stages:
 #   - FSL_HOST:                      - Username@host to download FSL data from
 #                                      (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_PASSWORD:                - Password to use when uploading to pypi