Skip to content

Commit c09fed0

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 228eb48 + 702cd4e commit c09fed0

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.appveyor.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ environment:
7070
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
7171
# Python version specification is non-standard on windows
7272
PY: 38-x64
73+
INSTALL_GITANNEX: git-annex -m datalad/packages
7374
# MacOS core tests
7475
- ID: MacP38
7576
DTS: datalad_osf
@@ -117,8 +118,6 @@ init:
117118
- cmd: "set TMP=C:\\DLTMP"
118119
- cmd: "set TEMP=C:\\DLTMP"
119120
- sh: export TMPDIR=~/DLTMP
120-
# deploy the datalad installer
121-
- appveyor DownloadFile https://raw.githubusercontent.com/datalad/datalad-installer/master/src/datalad_installer.py -FileName datalad_installer.py
122121

123122

124123
install:
@@ -130,14 +129,20 @@ install:
130129
# use of python/pip executables below
131130
- sh: "[ \"x$PY\" != x ] && . ${HOME}/venv${PY}/bin/activate || virtualenv -p 3 ${HOME}/dlvenv && . ${HOME}/dlvenv/bin/activate; ln -s \"$VIRTUAL_ENV\" \"${HOME}/VENV\""
132131
- cmd: "set PATH=C:\\Python%PY%;C:\\Python%PY%\\Scripts;%PATH%"
132+
# deploy the datalad installer, override version via DATALAD_INSTALLER_VERSION
133+
- cmd:
134+
IF DEFINED DATALAD_INSTALLER_VERSION (
135+
python -m pip install "datalad-installer%DATALAD_INSTALLER_VERSION%"
136+
) ELSE (
137+
python -m pip install datalad-installer
138+
)
139+
- sh: python -m pip install datalad-installer${DATALAD_INSTALLER_VERSION:-}
133140
# Missing system software
134141
- sh: "[ -n \"$INSTALL_SYSPKGS\" ] && ( [ \"x${APPVEYOR_BUILD_WORKER_IMAGE}\" = \"xmacOS\" ] && brew install -q ${INSTALL_SYSPKGS} || sudo apt-get install --no-install-recommends -y ${INSTALL_SYSPKGS} ) || true"
135142
# Install git-annex on windows, otherwise INSTALL_SYSPKGS can be used
136143
# deploy git-annex, if desired
137-
- cmd: IF DEFINED INSTALL_GITANNEX python datalad_installer.py %INSTALL_GITANNEX%
138-
- sh: "[ -n \"${INSTALL_GITANNEX}\" ] && python datalad_installer.py ${INSTALL_GITANNEX}"
139-
# TODO remove when datalad-installer can handle this
140-
- cmd: tools\ci\appveyor_install_git-annex.bat
144+
- cmd: IF DEFINED INSTALL_GITANNEX datalad-installer --sudo ok %INSTALL_GITANNEX%
145+
- sh: "[ -n \"${INSTALL_GITANNEX}\" ] && datalad-installer --sudo ok ${INSTALL_GITANNEX}"
141146

142147

143148
#before_build:

tools/ci/appveyor_install_git-annex.bat

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)