Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
19571ee6
Commit
19571ee6
authored
Mar 06, 2019
by
Paul McCarthy
🚵
Browse files
CI: Atlas data location can be customised with env var
parent
f456f6bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
.ci/test_template.sh
View file @
19571ee6
...
@@ -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"
...
...
.gitlab-ci.yml
View file @
19571ee6
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment