forked from ilastik/lazyflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (46 loc) · 1.82 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
45
46
47
48
49
50
51
clone_folder: c:\projects\lazyflow
environment:
ENV_NAME: test-env
# set miniconda version explicitly
MINICONDA: C:\Miniconda36-x64
install:
- set DEV_PREFIX=%MINICONDA%/envs/%ENV_NAME%
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda create -q --yes -n %ENV_NAME% -c ilastik-forge -c conda-forge/label/cf201901 python=3.6 numpy=1.12 ilastik-dependencies-no-solvers
- activate %ENV_NAME%
- cd \
# Get the current master of all submodules
- git clone https://github.com/ilastik/ilastik-meta c:\ilastik\ilastik-meta
- cd ilastik\ilastik-meta
- git submodule update --init --recursive
- git submodule foreach "git checkout master"
# Remove the conda ilastik-meta
- conda remove ilastik-meta
- ps: rm -Force -Recurse c:\ilastik\ilastik-meta\lazyflow
- timeout 10
# replace with whatever version of lazyflow triggered the appveyor
- ps: cp -recurse C:\projects\lazyflow c:\ilastik\ilastik-meta\lazyflow
- timeout 10
# Point to the current ilastik-meta
- set ILASTIK_PTH=%MINICONDA%/envs/%ENV_NAME%/Lib/site-packages/ilastik-meta.pth
- echo C:/ilastik/ilastik-meta/lazyflow > %ILASTIK_PTH%
- echo C:/ilastik/ilastik-meta/volumina >> %ILASTIK_PTH%
- echo C:/ilastik/ilastik-meta/ilastik >> %ILASTIK_PTH%
build: off
test_script:
- set DEV_PREFIX=%MINICONDA%/envs/%ENV_NAME%
- activate %ENV_NAME%
- cd \
- cd ilastik\ilastik-meta\lazyflow\tests
- set Path=C:\ilastik\scripts;%Path%
- >
nosetests
--nologcapture
--ignore-files=testInterpolatedFeatures.py
--with-xunit
--xunit-file=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'))