-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from BryanGuillaume/new_release_2.2.1
Release SwE Version 2.2.1
- Loading branch information
Showing
66 changed files
with
1,367 additions
and
1,369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
language: python | ||
# use container-based infrastructure | ||
sudo: required | ||
services: | ||
services: | ||
- docker | ||
cache: | ||
cache: | ||
timeout: 1000 | ||
directories: | ||
- test/data | ||
python: | ||
- "3.5" | ||
bundler_args: --retry 9 | ||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors | ||
install: | ||
# Install git-lfs | ||
install: | ||
# Install git-lfs | ||
- cd .. | ||
- curl -sLo - https://github.com/github/git-lfs/releases/download/v1.4.1/git-lfs-linux-amd64-1.4.1.tar.gz | tar xzvf - | ||
- export PATH=$PATH:`pwd`/git-lfs-1.4.1 | ||
- git lfs install | ||
- git lfs install | ||
# Download data. | ||
- cd SwE-toolbox/test/data | ||
- if ! [ -d .git ]; then git clone https://github.com/NISOx-BDI/SwE-toolbox-testdata.git .; fi | ||
# Delete any previous changes (retry because lfs might download files) | ||
# Delete any previous changes (retry because lfs might download files) | ||
- git checkout master | ||
- travis_retry git reset --hard origin/master | ||
# A second time to allow for 3 more retries as "--retry 9" does not seem to be | ||
|
@@ -31,7 +31,7 @@ jobs: | |
include: | ||
# Each '-' with the same indentation as this comment is a job that is run in parallel in the | ||
# results generation stage. | ||
- stage: Results generation | ||
- stage: Results generation | ||
env: | ||
- testname='p_vox_t_nii' | ||
script: | ||
|
@@ -41,7 +41,7 @@ jobs: | |
- testname='p_vox_f_nii' | ||
script: | ||
- did=$(sudo docker run -ti -d --rm -v `pwd`:/swe cmaumet/octave-spm) | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('p', 'vox', 'f', 'nii')" | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('p', 'vox', 'f', 'nii')" | ||
- env: | ||
- testname='wb_vox_t_nii' | ||
script: | ||
|
@@ -66,7 +66,7 @@ jobs: | |
- testname='wb_tfce_t_nii' | ||
script: | ||
- did=$(sudo docker run -ti -d --rm -v `pwd`:/swe cmaumet/octave-spm) | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('wb', 'tfce', 't', 'nii')" | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('wb', 'tfce', 't', 'nii')" | ||
- env: | ||
- testname='wb_tfce_f_nii' | ||
script: | ||
|
@@ -81,7 +81,7 @@ jobs: | |
- testname='p_dat_f_mat' | ||
script: | ||
- did=$(sudo docker run -ti -d --rm -v `pwd`:/swe cmaumet/octave-spm) | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('p', 'dat', 'f', 'mat')" | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('p', 'dat', 'f', 'mat')" | ||
- env: | ||
- testname='wb_dat_t_mat' | ||
script: | ||
|
@@ -111,7 +111,7 @@ jobs: | |
- testname='p_dpx_f_gii' | ||
script: | ||
- did=$(sudo docker run -ti -d --rm -v `pwd`:/swe cmaumet/octave-spm) | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('p', 'dpx', 'f', 'gii')" | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('p', 'dpx', 'f', 'gii')" | ||
- env: | ||
- testname='wb_dpx_t_gii' | ||
script: | ||
|
@@ -141,7 +141,7 @@ jobs: | |
- testname='p_dpx_f_cii' | ||
script: | ||
- did=$(sudo docker run -ti -d --rm -v `pwd`:/swe cmaumet/octave-spm) | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('p', 'dpx', 'f', 'cii')" | ||
- sudo docker exec -t -i $did octave --no-window-system --eval "addpath('/swe/test');runTest('p', 'dpx', 'f', 'cii')" | ||
- env: | ||
- testname='wb_dpx_t_cii' | ||
script: | ||
|
@@ -166,6 +166,6 @@ before_install: | |
# Update docker version | ||
- sudo apt-get update | ||
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce | ||
- git config --global user.name "TravisCI" | ||
- git config --global user.name "TravisCI" | ||
- git config --global user.email "[email protected]" | ||
- docker pull cmaumet/octave-spm | ||
- docker pull cmaumet/octave-spm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
function display(obj) | ||
% Display a swe_DataType object | ||
% ========================================================================= | ||
% Display a swe_DataType object | ||
% ========================================================================= | ||
% Bryan Guillaume | ||
% Version Info: $Format:%ci$ $Format:%h$ | ||
display(get(obj)); | ||
end | ||
|
||
display(get(obj)); | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
function out = eq(a,b) | ||
% Overload the '==' operator for we_DataType objects | ||
% Overload the '==' operator for we_DataType objects | ||
% ========================================================================= | ||
% Bryan Guillaume | ||
% Version Info: $Format:%ci$ $Format:%h$ | ||
|
||
out = strcmp(a.value, b.value); | ||
% Version Info: $Format:%ci$ $Format:%h$ | ||
|
||
end | ||
out = strcmp(a.value, b.value); | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
function out = get(obj) | ||
% Get a swe_DataType object | ||
% ========================================================================= | ||
% Get a swe_DataType object | ||
% ========================================================================= | ||
% Bryan Guillaume | ||
% Version Info: $Format:%ci$ $Format:%h$ | ||
|
||
out = obj.value; | ||
|
||
end | ||
out = obj.value; | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.