This repository was archived by the owner on Apr 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathappveyor.yml
44 lines (39 loc) · 1.51 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
clone_folder: c:\projects\lazyflow
environment:
ENV_NAME: test-env
# set miniconda version explicitly
MINICONDA: C:\Miniconda37-x64
IlASTIK_ROOT: C:\ilastik
install:
- set "PATH=%MINICONDA%;%MINICONDA%\Scripts;%MINICONDA%\Library\bin;%PATH%
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install -c conda-forge conda-build
- activate base
- cd \
# Get the current master of all submodules
- git clone https://github.com/ilastik/ilastik-meta %ILASTIK_ROOT%\ilastik-meta
- cd %ILASTIK_ROOT%\ilastik-meta
- git submodule update --init --recursive
- git submodule foreach "git checkout master"
- ps: rm -Force -Recurse $env:ILASTIK_ROOT\ilastik-meta\lazyflow
- timeout 10
# replace with whatever version of lazyflow triggered the appveyor
- ps: cp -recurse C:\projects\lazyflow $env:ILASTIK_ROOT\ilastik-meta\lazyflow
- timeout 10
- >
cd %ILASTIK_ROOT%\ilastik-meta &&
python ilastik\scripts\devenv.py create -n %ENV_NAME%
-p ilastik-dependencies-no-solvers pytest-cov coveralls black
-c ilastik-forge conda-forge defaults
build: off
test_script:
- set "PATH=%MINICONDA%;%MINICONDA%\Scripts;%MINICONDA%\Library\bin;%PATH%
- activate %ENV_NAME%
- cd %ILASTIK_ROOT%\ilastik-meta\lazyflow
- >
python -m pytest
--capture=no
--junitxml=nosetests.lazyflow.xml
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))