File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,14 @@ jobs:
3535 - run :
3636 name : Install git and git-annex
3737 command : |
38- if [[ ! -d "/usr/lib/git-annex.linux" || ! - e "/usr/bin /git-annex-shell " ]]; then
38+ if [[ ! -e "/tmp/cache /git-annex-standalone.tar.gz " ]]; then
3939 wget -O- http://neuro.debian.net/lists/trusty.us-ca.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
4040 sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9
4141 sudo apt update && sudo apt-get install -y --no-install-recommends git-annex-standalone
42+ mkdir -p /tmp/cache
43+ tar czvf /tmp/cache/git-annex-standalone.tar.gz /usr/bin/git-annex /usr/bin/git-annex-shell /usr/lib/git-annex.linux
44+ else
45+ sudo tar xzfv /tmp/cache/git-annex-standalone.tar.gz
4246 fi
4347 git config --global user.name "First Last"
4448 git config --global user.email "[email protected] " 4852 paths :
4953 - " /opt/circleci/.pyenv/versions/3.5.2"
5054 - " /tmp/data/templateflow"
51- - " /usr/lib/git-annex.linux"
52- - " /usr/bin/git-annex"
53- - " /usr/bin/git-annex-shell"
55+ - " /tmp/cache"
5456
5557 - run :
5658 name : Run tests (w/o DataLad)
You can’t perform that action at this time.
0 commit comments