Skip to content

Commit

Permalink
maint: fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Nov 30, 2020
1 parent cb53f30 commit e18f3ce
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
build-linux:
if: "!startsWith(github.ref, 'refs/tags/') && !contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
env:
DATADIR: $HOME/data
strategy:
max-parallel: 5
matrix:
Expand All @@ -26,6 +28,8 @@ jobs:
python-cache-
- name: Install DataLad
run: |
git config --global user.name 'NiPreps Bot'
git config --global user.email 'nipreps@gmail.com'
$CONDA/bin/conda install -c conda-forge git-annex datalad pip
$CONDA/bin/pip install datalad-osf
- uses: actions/checkout@v2
Expand All @@ -49,18 +53,22 @@ jobs:
restore-keys: |
data-cache-
- name: Install test data
env:
PATH: $PATH:$CONDA/bin/
working-directory: $HOME/data
run: |
export PATH=$CONDA/bin:$PATH
mkdir -p ${{ env.DATADIR }}
cd ${{ env.DATADIR }}
# ds001600
datalad install -r https://github.com/nipreps-data/ds001600.git
datalad update -r --merge -d ds001600/
datalad get -r -d ds001600/ ds001600/sub-1/
# HCP/sub-101006
datalad install -r https://github.com/nipreps-data/HCP101006.git
datalad update -r --merge -d HCP101006/
datalad get -r -d HCP101006
# ds001771
datalad install -r https://github.com/nipreps-data/ds001771.git
datalad update --merge -d ds001771/
datalad get -r -d ds001771/ ds001771/sub-36/fmap/*
Expand Down

0 comments on commit e18f3ce

Please sign in to comment.